Minify webextension-polyfill
This commit is contained in:
parent
ab9b3bd0d1
commit
19baa95e91
|
@ -19,7 +19,8 @@ const generalConfig = {
|
||||||
devtool: "source-map",
|
devtool: "source-map",
|
||||||
resolve: {
|
resolve: {
|
||||||
alias: {
|
alias: {
|
||||||
src: path.resolve(__dirname, "src/")
|
src: path.resolve(__dirname, "src/"),
|
||||||
|
"webextension-polyfill": "webextension-polyfill/dist/browser-polyfill.min.js"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
module: {
|
module: {
|
||||||
|
|
|
@ -25,7 +25,8 @@ const generalConfig = {
|
||||||
mode: "production",
|
mode: "production",
|
||||||
resolve: {
|
resolve: {
|
||||||
alias: {
|
alias: {
|
||||||
src: path.resolve(__dirname, "src/")
|
src: path.resolve(__dirname, "src/"),
|
||||||
|
"webextension-polyfill": "webextension-polyfill/dist/browser-polyfill.min.js"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
module: {
|
module: {
|
||||||
|
|
Loading…
Reference in a new issue