fix: webpack proxy fix

This commit is contained in:
Bettenbuk Zoltan 2019-09-09 17:43:30 +02:00 committed by Zoltan Bettenbuk
parent f6fb859531
commit 256994e1f8
1 changed files with 1 additions and 3 deletions

View File

@ -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;