From 0ca63f1d09f555e0be64d3747866a37fe6de7ebf Mon Sep 17 00:00:00 2001 From: Dima Gerasimov Date: Mon, 9 Dec 2019 21:11:07 +0000 Subject: [PATCH] disable minimize for extension --- webpack.config.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/webpack.config.js b/webpack.config.js index 8609495..c3f7b08 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -79,6 +79,11 @@ const build_path = path.join(__dirname, "dist"); // TODO target?? var options = { mode: 'production', + optimization: { + // https://webpack.js.org/configuration/optimization + // don't thing minimize worth it for suck a tiny extension + minimize: false + }, entry: { popup : path.join(__dirname, "src", "js", "popup.js"), options : path.join(__dirname, "src", "js", "options_page.js"),