RemoteToExternalDependency.js 638 B

123456789101112131415161718192021222324252627282930313233
  1. /*
  2. MIT License http://www.opensource.org/licenses/mit-license.php
  3. Author Tobias Koppers @sokra
  4. */
  5. "use strict";
  6. const ModuleDependency = require("../dependencies/ModuleDependency");
  7. const makeSerializable = require("../util/makeSerializable");
  8. class RemoteToExternalDependency extends ModuleDependency {
  9. /**
  10. * @param {string} request request
  11. */
  12. constructor(request) {
  13. super(request);
  14. }
  15. get type() {
  16. return "remote to external";
  17. }
  18. get category() {
  19. return "esm";
  20. }
  21. }
  22. makeSerializable(
  23. RemoteToExternalDependency,
  24. "webpack/lib/container/RemoteToExternalDependency"
  25. );
  26. module.exports = RemoteToExternalDependency;