factorio-server-manager/ui/webpack.config.js
2016-04-19 21:45:49 -04:00

20 lines
369 B
JavaScript

var path = require('path');
var webpack = require('webpack');
module.exports = {
entry: './index.js',
output: { path: '../app', filename: 'bundle.js' },
module: {
loaders: [
{
test: /.jsx?$/,
loader: 'babel-loader',
exclude: /node_modules/,
query: {
presets: ['es2015', 'react']
}
}
]
},
}