mirror of
https://github.com/Kong/insomnia.git
synced 2026-10-25 08:09:06 -04:00
Updating webpack configuration for development (#3043)
Co-authored-by: Opender Singh <opender.singh@konghq.com>
This commit is contained in:
1 parent
4f062dbb28
commit
c06b504a12
1 file changed
+3
-2
@@ -39,12 +39,13 @@ module.exports = {
|
||||
// This is needed for source-maps to resolve correctly
|
||||
contentBase: '/',
|
||||
},
|
||||
optimization: {
|
||||
noEmitOnErrors: true
|
||||
},
|
||||
plugins: [
|
||||
...baseConfig.plugins,
|
||||
new webpack.LoaderOptionsPlugin({ debug: true }), // Legacy global loader option
|
||||
new webpack.HotModuleReplacementPlugin(),
|
||||
new webpack.NoEmitOnErrorsPlugin(),
|
||||
new webpack.NamedModulesPlugin(),
|
||||
new webpack.DefinePlugin({
|
||||
__DEV__: true,
|
||||
'process.env.NODE_ENV': JSON.stringify('development'),
|
||||
|
||||
Reference in new issue
Block a user