diff options
| author | julian laplace <julescarbon@gmail.com> | 2023-05-08 23:49:29 +0200 |
|---|---|---|
| committer | julian laplace <julescarbon@gmail.com> | 2023-05-08 23:49:29 +0200 |
| commit | b9dc2f677e7c3021aeeea6b1ab609a9b40806b48 (patch) | |
| tree | c49c179515b2dce0784205e1d707f99d9ba6d0ee /webpack.config.js | |
| parent | cee4e2e53e1d7df114960daa78e7fd7b38e165b9 (diff) | |
v1 of relabi generator
Diffstat (limited to 'webpack.config.js')
| -rw-r--r-- | webpack.config.js | 22 |
1 files changed, 22 insertions, 0 deletions
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, + }, +}; |
