factorio-server-manager/webpack.mix.js
2018-08-07 00:30:29 +02:00

14 lines
255 B
JavaScript

const mix = require('laravel-mix');
mix.setPublicPath("app");
mix.react('ui/index.js', 'bundle.js')
.sass('ui/index.scss', 'bundle.css')
if (!mix.inProduction()) {
mix.webpackConfig({
devtool: 'source-map'
})
.sourceMaps()
}