Bare example from mdn/webextensions-examples
This commit is contained in:
13
webpack.config.js
Normal file
13
webpack.config.js
Normal file
@@ -0,0 +1,13 @@
|
||||
const path = require("path")
|
||||
|
||||
module.exports = {
|
||||
entry: {
|
||||
background_scripts: "./background/background.js",
|
||||
popup: "popup/popup.js"
|
||||
},
|
||||
output: {
|
||||
path: path.resolve(__dirname, "addon"),
|
||||
filename: "[name]/index.js"
|
||||
},
|
||||
mode: "none"
|
||||
}
|
||||
Reference in New Issue
Block a user