AMDRequireDependenciesBlock.js 711 B

12345678910111213141516171819202122232425262728
  1. /*
  2. MIT License http://www.opensource.org/licenses/mit-license.php
  3. Author Tobias Koppers @sokra
  4. */
  5. "use strict";
  6. const AsyncDependenciesBlock = require("../AsyncDependenciesBlock");
  7. const makeSerializable = require("../util/makeSerializable");
  8. /** @typedef {import("../Dependency").DependencyLocation} DependencyLocation */
  9. class AMDRequireDependenciesBlock extends AsyncDependenciesBlock {
  10. /**
  11. * @param {DependencyLocation} loc location info
  12. * @param {string=} request request
  13. */
  14. constructor(loc, request) {
  15. super(null, loc, request);
  16. }
  17. }
  18. makeSerializable(
  19. AMDRequireDependenciesBlock,
  20. "webpack/lib/dependencies/AMDRequireDependenciesBlock"
  21. );
  22. module.exports = AMDRequireDependenciesBlock;