ulogger-server/webpack.prod.js

21 lines
383 B
JavaScript
Raw Normal View History

2019-11-29 16:53:50 +01:00
const merge = require('webpack-merge');
const common = require('./webpack.common.js');
module.exports = merge(common, {
mode: 'production',
2019-12-19 23:04:12 +01:00
devtool: 'source-map',
2019-11-29 16:53:50 +01:00
module: {
rules: [
{
test: /\.js$/,
use: {
loader: 'babel-loader',
options: {
presets: [ '@babel/preset-env' ]
}
}
}
]
}
});