mirror of
https://github.com/scratchfoundation/scratchjr.git
synced 2024-11-25 08:38:30 -05:00
27 lines
625 B
JavaScript
27 lines
625 B
JavaScript
module.exports = {
|
|
devtool: 'source-map',
|
|
entry: {
|
|
app: './src/entry/app.js'
|
|
},
|
|
output: {
|
|
path: './src/build/bundles',
|
|
filename: '[name].bundle.js'
|
|
},
|
|
module: {
|
|
loaders: [
|
|
{
|
|
test: /\.js$/,
|
|
include: /node_modules/,
|
|
loaders: ['strip-sourcemap-loader']
|
|
},
|
|
{
|
|
loader: 'babel-loader',
|
|
exclude: /node_modules/,
|
|
test: /\.jsx?$/,
|
|
query: {
|
|
presets: ['es2015']
|
|
}
|
|
}
|
|
]
|
|
}
|
|
};
|