From b9dc2f677e7c3021aeeea6b1ab609a9b40806b48 Mon Sep 17 00:00:00 2001 From: julian laplace Date: Mon, 8 May 2023 23:49:29 +0200 Subject: v1 of relabi generator --- webpack.config.js | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 webpack.config.js (limited to 'webpack.config.js') diff --git a/webpack.config.js b/webpack.config.js new file mode 100644 index 0000000..77a732a --- /dev/null +++ b/webpack.config.js @@ -0,0 +1,22 @@ +const path = require("path"); +const HtmlWebpackPlugin = require("html-webpack-plugin"); + +module.exports = { + mode: "production", + entry: "./src/index.jsx", + devtool: 'eval-source-map', + module: { + rules: [ + { + test: /\.(js|jsx)$/, + exclude: /node_modules/, + loader: "babel-loader", + }, + ], + }, + performance: { + hints: false, + maxEntrypointSize: 512000, + maxAssetSize: 512000, + }, +}; -- cgit v1.2.3-70-g09d2