mirror of
https://github.com/OpenFactorioServerManager/factorio-server-manager.git
synced 2025-01-10 04:19:38 +02:00
20 lines
369 B
JavaScript
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']
|
|
}
|
|
}
|
|
]
|
|
},
|
|
}
|