2013-01-31 01:49:25 +08:00
|
|
|
/*
|
|
|
|
|
MIT License http://www.opensource.org/licenses/mit-license.php
|
|
|
|
|
Author Tobias Koppers @sokra
|
|
|
|
|
*/
|
2018-07-30 23:08:51 +08:00
|
|
|
|
2017-01-08 12:05:14 +08:00
|
|
|
"use strict";
|
2018-07-30 23:08:51 +08:00
|
|
|
|
2017-01-08 12:05:14 +08:00
|
|
|
const AsyncDependenciesBlock = require("../AsyncDependenciesBlock");
|
2018-10-18 18:42:13 +08:00
|
|
|
const makeSerializable = require("../util/makeSerializable");
|
2013-01-31 01:49:25 +08:00
|
|
|
|
2018-10-18 18:42:13 +08:00
|
|
|
class RequireEnsureDependenciesBlock extends AsyncDependenciesBlock {
|
2023-05-22 04:31:30 +08:00
|
|
|
/**
|
|
|
|
|
* @param {TODO} chunkName chunk name
|
|
|
|
|
* @param {TODO} loc location info
|
|
|
|
|
*/
|
2018-10-18 18:42:13 +08:00
|
|
|
constructor(chunkName, loc) {
|
2018-10-18 04:58:30 +08:00
|
|
|
super(chunkName, loc, null);
|
2017-01-08 12:05:14 +08:00
|
|
|
}
|
2018-10-18 18:42:13 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
makeSerializable(
|
|
|
|
|
RequireEnsureDependenciesBlock,
|
|
|
|
|
"webpack/lib/dependencies/RequireEnsureDependenciesBlock"
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
module.exports = RequireEnsureDependenciesBlock;
|