insomnia/webpack/webpack.config.production.babel.js
Gregory Schier 6a7a0b07bc try
2016-08-23 12:43:01 -07:00

16 lines
374 B
JavaScript

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