insomnia/webpack/webpack.config.production.babel.js
Gregory Schier 86c358e7f3 Small update
2016-11-01 10:50:31 -07:00

17 lines
420 B
JavaScript

import webpack from 'webpack';
import baseConfig from './webpack.config.base.babel';
export default {
...baseConfig,
devtool: 'source-map',
plugins: [
...baseConfig.plugins,
// new webpack.optimize.UglifyJsPlugin(),
new webpack.DefinePlugin({
__DEV__: false,
'process.env.NODE_ENV': JSON.stringify('production'),
'process.env.INSOMNIA_ENV': JSON.stringify('production')
})
]
}