diff --git a/server/build/plugins/dynamic-entry-plugin.js b/server/build/plugins/dynamic-entry-plugin.js index 4a8ee3c2..656403b4 100644 --- a/server/build/plugins/dynamic-entry-plugin.js +++ b/server/build/plugins/dynamic-entry-plugin.js @@ -38,7 +38,7 @@ function removeEntry (name = 'main') { } function hasEntry (name = 'main') { - this.entryNames.has(name) + return this.entryNames.has(name) } function createCompilation (original) {