Skip to content

Commit ea9da8c

Browse files
snitin315alexander-akait
authored andcommitted
chore: update core dependencies (#4928)
* chore: update core dependencies * chore: update webpack merge * chore: update snapshots
1 parent 3a247fb commit ea9da8c

File tree

4 files changed

+1656
-1524
lines changed

4 files changed

+1656
-1524
lines changed

lib/Server.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1642,7 +1642,7 @@ class Server {
16421642

16431643
if (this.options.hot) {
16441644
const HMRPluginExists = compiler.options.plugins.find(
1645-
(p) => p.constructor === webpack.HotModuleReplacementPlugin
1645+
(p) => p && p.constructor === webpack.HotModuleReplacementPlugin
16461646
);
16471647

16481648
if (HMRPluginExists) {

0 commit comments

Comments
 (0)