mirror of
https://github.com/mdn/webextensions-examples.git
synced 2026-04-20 16:22:52 +02:00
Add an example on how to use webpack with webextensions
This commit is contained in:
@@ -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"
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user