mirror of
https://github.com/Kong/insomnia.git
synced 2026-04-21 14:47:46 -04:00
* Fixed duplication kve bug * Added semistandard and updated code * Actually got it working * Even better * I think it should work on Windows now
19 lines
558 B
JavaScript
19 lines
558 B
JavaScript
const webpack = require('webpack');
|
|
const baseConfig = require('./webpack.config.base.babel');
|
|
|
|
module.exports = {
|
|
...baseConfig,
|
|
devtool: 'source-map',
|
|
plugins: [
|
|
...baseConfig.plugins,
|
|
// NOTE: Uglification breaks everything! So many problems for some reason
|
|
// new webpack.optimize.UglifyJsPlugin(),
|
|
new webpack.DefinePlugin({
|
|
__DEV__: false,
|
|
'process.env.NODE_ENV': JSON.stringify('production'),
|
|
'process.env.INSOMNIA_ENV': JSON.stringify('production'),
|
|
'process.env.HOT': JSON.stringify(null)
|
|
})
|
|
]
|
|
};
|