You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
450 B
JavaScript
24 lines
450 B
JavaScript
module.exports = {
|
|
entry: [
|
|
'./src/index.js'
|
|
],
|
|
devtool: 'source-map',
|
|
module: {
|
|
loaders: [{
|
|
test: /\.jsx?$/,
|
|
exclude: /(node_modules|quagga\.js)/,
|
|
loader: 'babel-loader'
|
|
}]
|
|
},
|
|
resolve: {
|
|
modules: [
|
|
'node_modules'
|
|
]
|
|
},
|
|
output: {
|
|
path: __dirname + '/static',
|
|
publicPath: '/',
|
|
filename: 'bundle.js'
|
|
}
|
|
};
|