Skip to content

Commit 4a31791

Browse files
authored
fix: a typo at webpack 5 NormalModule require (#167)
1 parent 331d321 commit 4a31791

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ class ReactRefreshPlugin {
229229
break;
230230
}
231231
case 5: {
232-
const NormalModule = require('webpack.next/lib/NormalModule');
232+
const NormalModule = require('webpack/lib/NormalModule');
233233
const RuntimeGlobals = require('webpack/lib/RuntimeGlobals');
234234
const ReactRefreshRuntimeModule = require('./runtime/RefreshRuntimeModule');
235235

0 commit comments

Comments
 (0)