Minify webextension-polyfill

This commit is contained in:
sienori 2019-03-21 19:38:08 +09:00
parent ab9b3bd0d1
commit 19baa95e91
2 changed files with 4 additions and 2 deletions

View file

@ -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: {

View file

@ -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: {