From c06b504a1293dea6784fb91d0b3409d32e082f76 Mon Sep 17 00:00:00 2001 From: Giuseppe B <20780192+MrSnix@users.noreply.github.com> Date: Wed, 3 Feb 2021 22:29:15 +0100 Subject: [PATCH] Updating webpack configuration for development (#3043) Co-authored-by: Opender Singh --- .../insomnia-app/webpack/webpack.config.development.babel.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/insomnia-app/webpack/webpack.config.development.babel.js b/packages/insomnia-app/webpack/webpack.config.development.babel.js index 11e52a4acb..5ac5e4b2f4 100644 --- a/packages/insomnia-app/webpack/webpack.config.development.babel.js +++ b/packages/insomnia-app/webpack/webpack.config.development.babel.js @@ -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'),