floccus/webpack.prod.js

13 строки
282 B
JavaScript

const merge = require('webpack-merge')
const common = require('./webpack.common.js')
const webpack = require('webpack')
module.exports = merge(common, {
mode: 'production',
plugins: [
new webpack.DefinePlugin({
DEBUG: JSON.stringify(!process.env['CI'])
})
]
})