main
Last change
on this file since 79a0317 was 79a0317, checked in by stefan toskovski <stefantoska84@…>, 3 days ago |
F4 Finalna Verzija
|
-
Property mode
set to
100644
|
File size:
846 bytes
|
Rev | Line | |
---|
[79a0317] | 1 | /*
|
---|
| 2 | MIT License http://www.opensource.org/licenses/mit-license.php
|
---|
| 3 | Author Tobias Koppers @sokra
|
---|
| 4 | */
|
---|
| 5 |
|
---|
| 6 | "use strict";
|
---|
| 7 |
|
---|
| 8 | const AsyncDependenciesBlock = require("../AsyncDependenciesBlock");
|
---|
| 9 | const makeSerializable = require("../util/makeSerializable");
|
---|
| 10 |
|
---|
| 11 | /** @typedef {import("../ChunkGroup").ChunkGroupOptions} ChunkGroupOptions */
|
---|
| 12 | /** @typedef {import("../Dependency").DependencyLocation} DependencyLocation */
|
---|
| 13 |
|
---|
| 14 | class RequireEnsureDependenciesBlock extends AsyncDependenciesBlock {
|
---|
| 15 | /**
|
---|
| 16 | * @param {ChunkGroupOptions & { entryOptions?: TODO }} chunkName chunk name
|
---|
| 17 | * @param {DependencyLocation} loc location info
|
---|
| 18 | */
|
---|
| 19 | constructor(chunkName, loc) {
|
---|
| 20 | super(chunkName, loc, null);
|
---|
| 21 | }
|
---|
| 22 | }
|
---|
| 23 |
|
---|
| 24 | makeSerializable(
|
---|
| 25 | RequireEnsureDependenciesBlock,
|
---|
| 26 | "webpack/lib/dependencies/RequireEnsureDependenciesBlock"
|
---|
| 27 | );
|
---|
| 28 |
|
---|
| 29 | module.exports = RequireEnsureDependenciesBlock;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.