scratchjr/webpack.config.js

23 lines
490 B
JavaScript
Raw Normal View History

2016-01-12 15:08:37 -05:00
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']
}
}
]
}
};