Files
webextensions-examples/webpack-modules/webpack.config.js
Martin Giger ec034f70a2 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
2017-04-10 14:14:19 -07:00

13 lines
280 B
JavaScript

const path = require("path");
module.exports = {
entry: {
background_scripts: "./background_scripts/background.js",
popup: "./popup/left-pad.js"
},
output: {
path: path.resolve(__dirname, "addon"),
filename: "[name]/index.js"
}
};