disable minimize for extension

This commit is contained in:
Dima Gerasimov 2019-12-09 21:11:07 +00:00 committed by Dmitrii Gerasimov
parent 1ca82d1c00
commit 0ca63f1d09

View file

@ -79,6 +79,11 @@ const build_path = path.join(__dirname, "dist"); // TODO target??
var options = { var options = {
mode: 'production', mode: 'production',
optimization: {
// https://webpack.js.org/configuration/optimization
// don't thing minimize worth it for suck a tiny extension
minimize: false
},
entry: { entry: {
popup : path.join(__dirname, "src", "js", "popup.js"), popup : path.join(__dirname, "src", "js", "popup.js"),
options : path.join(__dirname, "src", "js", "options_page.js"), options : path.join(__dirname, "src", "js", "options_page.js"),