summaryrefslogtreecommitdiff
path: root/node_modules/webpack/lib/dependencies/RequireEnsureDependenciesBlock.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/webpack/lib/dependencies/RequireEnsureDependenciesBlock.js')
-rw-r--r--node_modules/webpack/lib/dependencies/RequireEnsureDependenciesBlock.js29
1 files changed, 29 insertions, 0 deletions
diff --git a/node_modules/webpack/lib/dependencies/RequireEnsureDependenciesBlock.js b/node_modules/webpack/lib/dependencies/RequireEnsureDependenciesBlock.js
new file mode 100644
index 00000000..6cf8294e
--- /dev/null
+++ b/node_modules/webpack/lib/dependencies/RequireEnsureDependenciesBlock.js
@@ -0,0 +1,29 @@
+/*
+ MIT License http://www.opensource.org/licenses/mit-license.php
+ Author Tobias Koppers @sokra
+*/
+
+"use strict";
+
+const AsyncDependenciesBlock = require("../AsyncDependenciesBlock");
+const makeSerializable = require("../util/makeSerializable");
+
+/** @typedef {import("../ChunkGroup").ChunkGroupOptions} ChunkGroupOptions */
+/** @typedef {import("../Dependency").DependencyLocation} DependencyLocation */
+
+class RequireEnsureDependenciesBlock extends AsyncDependenciesBlock {
+ /**
+ * @param {ChunkGroupOptions & { entryOptions?: TODO }} chunkName chunk name
+ * @param {DependencyLocation} loc location info
+ */
+ constructor(chunkName, loc) {
+ super(chunkName, loc, null);
+ }
+}
+
+makeSerializable(
+ RequireEnsureDependenciesBlock,
+ "webpack/lib/dependencies/RequireEnsureDependenciesBlock"
+);
+
+module.exports = RequireEnsureDependenciesBlock;