mirror of
https://github.com/scratchfoundation/scratchjr.git
synced 2024-11-28 18:15:37 -05:00
23 lines
490 B
JavaScript
23 lines
490 B
JavaScript
|
module.exports = {
|
||
|
entry: {
|
||
|
index: './src/entry/index.js',
|
||
|
editor: './src/entry/editor.js'
|
||
|
},
|
||
|
output: {
|
||
|
path: './src/build/bundles',
|
||
|
filename: '[name].bundle.js'
|
||
|
},
|
||
|
module: {
|
||
|
loaders: [
|
||
|
{
|
||
|
loader: 'babel-loader',
|
||
|
exclude: /node_modules/,
|
||
|
test: /\.jsx?$/,
|
||
|
query: {
|
||
|
presets: ['es2015']
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
};
|