Add an example on how to use webpack with webextensions

This commit is contained in:
Martin Giger
2016-09-21 17:45:11 +02:00
parent ed25a238bf
commit 71641abd14
8 changed files with 122 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
module.exports = {
entry: {
background_scripts: "./background_scripts/background.js",
popup: "./popup/left-pad.js"
},
output: {
path: "dist",
filename: "[name]/index.js"
}
};