a wholly calm and rational talk by
a wholly calm and rational talk by
// reaction-packs/webpack.config.js
module.exports = {
context: __dirname + '/src',
entry: './index.js',
resolve: {
alias: {
'--browser': __dirname + '/browsers/' + browser + '.js'
}
},
output: {
path: __dirname + '/build/' + browser,
filename: script_entry
},
module: {
loaders: [
{
test: /\.css$/,
loader: ExtractTextPlugin.extract("style-loader", "css-loader")
},
{
test: /\.jsx?$/,
exclude: /node_modules/,
loader: 'babel'
}
]
},
plugins: [
new ExtractTextPlugin(style_entry)
]
};
crx2ff convert drumpf.crx --output=drumpff.xpi