We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 48d7ffe commit 5fc8350Copy full SHA for 5fc8350
packages/react-dev-utils/ModuleNotFoundPlugin.js
@@ -100,8 +100,13 @@ class ModuleNotFoundPlugin {
100
const { prettierError } = this;
101
compiler.hooks.make.intercept({
102
register(tap) {
103
+ // "SingleEntryPlugin" can be removed when Webpack 4 no longer have to be supported
104
if (
- !(tap.name === 'MultiEntryPlugin' || tap.name === 'SingleEntryPlugin')
105
+ !(
106
+ tap.name === 'MultiEntryPlugin' ||
107
+ tap.name === 'SingleEntryPlugin' ||
108
+ tap.name === 'EntryPlugin'
109
+ )
110
) {
111
return tap;
112
}
0 commit comments