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.
20 lines
377 B
JavaScript
20 lines
377 B
JavaScript
2 years ago
|
module.exports = {
|
||
|
cache: true,
|
||
|
entry: './static/src/app.js',
|
||
|
output: {
|
||
|
filename: './static/build/main.js'
|
||
|
},
|
||
|
devtool: 'source-map',
|
||
|
module: {
|
||
|
loaders: [
|
||
|
{
|
||
|
test: /\.js$/,
|
||
|
loader: 'babel-loader',
|
||
|
query: {
|
||
|
presets: ['es2015', 'react']
|
||
|
}
|
||
|
},
|
||
|
]
|
||
|
}
|
||
|
};
|