From 256994e1f8108c7cd0e003983788b6bbecf54207 Mon Sep 17 00:00:00 2001 From: Bettenbuk Zoltan Date: Mon, 9 Sep 2019 17:43:30 +0200 Subject: [PATCH] fix: webpack proxy fix --- webpack.config.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/webpack.config.js b/webpack.config.js index 77e8ea7eb..8709715d6 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -254,7 +254,7 @@ function devServerProxyBypass({ path }) { // Since webpack-dev-server is serving non-minimized // artifacts, serve them even if the minimized ones are // requested. - Object.keys(c.entry).some(e => { + return Object.keys(c.entry).some(e => { const name = `${e}.min.js`; if (path.indexOf(name) !== -1) { @@ -265,8 +265,6 @@ function devServerProxyBypass({ path }) { } }); } - - return true; } })) { return path;