scratchjr/webpack.config.js
2016-01-12 15:08:37 -05:00

22 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']
}
}
]
}
};