insomnia/packages/insomnia-app/webpack/webpack.config.production.babel.js
2018-04-18 14:21:06 -04:00

17 lines
385 B
JavaScript

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