factorio-server-manager/webpack.config.js

30 lines
626 B
JavaScript
Raw Normal View History

const path = require('path');
module.exports = {
entry: './ui/index.js',
output: {
filename: 'bundle.js',
path: path.resolve(__dirname, 'app')
},
resolve: {
alias: {
Utilities: path.resolve(__dirname, 'ui/js/')
},
extensions: ['.wasm', '.mjs', '.js', '.json', '.jsx']
},
module: {
rules: [
{
test: /\.jsx?$/,
exclude: /node_modules/,
use: {
loader: 'babel-loader'
}
}
]
2018-08-20 02:39:56 +02:00
},
performance: {
hints: false
}
}