From 19baa95e915c4d055c42a2f74e19cb679eb9b73c Mon Sep 17 00:00:00 2001 From: sienori Date: Thu, 21 Mar 2019 19:38:08 +0900 Subject: [PATCH] Minify webextension-polyfill --- webpack.config.dev.js | 3 ++- webpack.config.dist.js | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/webpack.config.dev.js b/webpack.config.dev.js index 83482c6..3e48617 100644 --- a/webpack.config.dev.js +++ b/webpack.config.dev.js @@ -19,7 +19,8 @@ const generalConfig = { devtool: "source-map", resolve: { alias: { - src: path.resolve(__dirname, "src/") + src: path.resolve(__dirname, "src/"), + "webextension-polyfill": "webextension-polyfill/dist/browser-polyfill.min.js" } }, module: { diff --git a/webpack.config.dist.js b/webpack.config.dist.js index 00ad956..92bd547 100644 --- a/webpack.config.dist.js +++ b/webpack.config.dist.js @@ -25,7 +25,8 @@ const generalConfig = { mode: "production", resolve: { alias: { - src: path.resolve(__dirname, "src/") + src: path.resolve(__dirname, "src/"), + "webextension-polyfill": "webextension-polyfill/dist/browser-polyfill.min.js" } }, module: {