From f2cda77dc2e9b0c8671a81eb43e816827792ac1c Mon Sep 17 00:00:00 2001 From: Matthieu BAUMANN Date: Fri, 21 Oct 2022 14:15:36 +0200 Subject: [PATCH] tag new version --- webpack.config.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/webpack.config.js b/webpack.config.js index 81fcc6a2..b039c2ed 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -27,8 +27,8 @@ module.exports = { hints: false, }, optimization: { - minimize: false, - /*minimizer: [ + //minimize: false, + minimizer: [ new TerserPlugin({ terserOptions: { mangle: true, @@ -37,7 +37,7 @@ module.exports = { safari10: true } }), - ],*/ + ], }, plugins: [ // WebGL2 app @@ -77,7 +77,7 @@ module.exports = { // // the mode `development` makes `wasm-pack` build in `debug` mode. // the mode `production` makes `wasm-pack` build in `release` mode. - forceMode: "development", + forceMode: "production", // Controls plugin output verbosity, either 'info' or 'error'. // Defaults to 'info'.