mirror of
https://github.com/mdn/webextensions-examples.git
synced 2026-04-16 06:18:35 +02:00
Updated webpack to a more recent version due to security vulnerabilities in old version. (#500)
This commit is contained in:
@@ -8,7 +8,8 @@
|
|||||||
},
|
},
|
||||||
"license": "MPL-2.0",
|
"license": "MPL-2.0",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"webpack": "^2.3.2"
|
"webpack": "^5.74.0",
|
||||||
|
"webpack-cli": "^4.10.0"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"left-pad": "^1.1.1"
|
"left-pad": "^1.1.1"
|
||||||
|
|||||||
@@ -8,5 +8,6 @@ module.exports = {
|
|||||||
output: {
|
output: {
|
||||||
path: path.resolve(__dirname, "addon"),
|
path: path.resolve(__dirname, "addon"),
|
||||||
filename: "[name]/index.js"
|
filename: "[name]/index.js"
|
||||||
}
|
},
|
||||||
|
mode: 'none',
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user