RemoteToExternalDependency.js 592 B

123456789101112131415161718192021222324252627282930
  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. constructor(request) {
  10. super(request);
  11. }
  12. get type() {
  13. return "remote to external";
  14. }
  15. get category() {
  16. return "esm";
  17. }
  18. }
  19. makeSerializable(
  20. RemoteToExternalDependency,
  21. "webpack/lib/container/RemoteToExternalDependency"
  22. );
  23. module.exports = RemoteToExternalDependency;