insomnia/packages/insomnia-app/webpack/webpack.config.production.babel.js
2017-11-27 02:30:26 +00:00

16 lines
363 B
JavaScript

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