diff --git a/lib/hmr/LazyCompilationPlugin.js b/lib/hmr/LazyCompilationPlugin.js
index <HASH>..<HASH> 100644
--- a/lib/hmr/LazyCompilationPlugin.js
+++ b/lib/hmr/LazyCompilationPlugin.js
@@ -32,6 +32,13 @@ const { registerNotSerializable } = require("../util/serialization");
 /** @typedef {import("../util/Hash")} Hash */
 /** @typedef {import("../util/fs").InputFileSystem} InputFileSystem */
 
+const IGNORED_DEPENDENCY_TYPES = new Set([
+	"import.meta.webpackHot.accept",
+	"import.meta.webpackHot.decline",
+	"module.hot.accept",
+	"module.hot.decline"
+]);
+
 /**
  * @param {undefined|string|RegExp|Function} test test option
  * @param {Module} module the module
@@ -340,6 +347,7 @@ class LazyCompilationPlugin {
 						if (
 							resolveData.dependencies.every(
 								dep =>
+									IGNORED_DEPENDENCY_TYPES.has(dep.type) ||
 									(this.imports && dep.type === "import()") ||
 									(this.entries && dep.type === "entry")
 							) &&
allow HMR deps for lazy compilation