mirror of
https://github.com/mdn/webextensions-examples.git
synced 2026-04-20 08:13:41 +02:00
Updates to the webpacked example (#200)
* Notes on AMO reviews, update to webpack 2 and use better reset style for panel footer button * Link to webpack-webext-plugin in live-dev section
This commit is contained in:
@@ -1,10 +1,12 @@
|
||||
const path = require("path");
|
||||
|
||||
module.exports = {
|
||||
entry: {
|
||||
background_scripts: "./background_scripts/background.js",
|
||||
popup: "./popup/left-pad.js"
|
||||
},
|
||||
output: {
|
||||
path: "addon",
|
||||
path: path.resolve(__dirname, "addon"),
|
||||
filename: "[name]/index.js"
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user