mirror of
https://github.com/Kong/insomnia
synced 2024-11-08 06:39:48 +00:00
ea96136c3b
* Move auto-updater to use github releases * Adjust remoteReleases * Bump version * More reliable update notification * More reliable update notifications
18 lines
494 B
JavaScript
18 lines
494 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.HOT': JSON.stringify(null)
|
|
})
|
|
]
|
|
};
|