2016-11-23 22:58:48 +01:00
|
|
|
module.exports = {
|
|
|
|
cache: true,
|
|
|
|
entry: './src/client',
|
|
|
|
output: {
|
|
|
|
filename: './dist/browser-bundle.js'
|
|
|
|
},
|
|
|
|
target: 'web',
|
2016-11-28 18:47:47 +01:00
|
|
|
devtool: 'eval-module-source-map',
|
2016-11-23 22:58:48 +01:00
|
|
|
module: {
|
|
|
|
loaders: [
|
|
|
|
{
|
|
|
|
test: /\.js$/,
|
|
|
|
loader: 'babel-loader',
|
|
|
|
query: {
|
|
|
|
presets: ['es2015', 'react'],
|
|
|
|
compact: "false"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
]
|
|
|
|
},
|
|
|
|
};
|