insomnia/webpack/webpack.config.production.babel.js
Gregory Schier 9db0b67b6d Test 3
2017-08-15 15:53:16 -07:00

16 lines
370 B
JavaScript

const webpack = require('webpack');
const baseConfig = require('./webpack.config.base.babel');
module.exports = {
...baseConfig,
devtool: 'source-map',
plugins: [
...baseConfig.plugins,
new webpack.DefinePlugin({
__DEV__: false,
'process.env.NODE_ENV': JSON.stringify('production'),
'process.env.HOT': JSON.stringify(null)
})
]
};