ConsumeSharedFallbackDependency.js 615 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 ConsumeSharedFallbackDependency extends ModuleDependency {
  9. constructor(request) {
  10. super(request);
  11. }
  12. get type() {
  13. return "consume shared fallback";
  14. }
  15. get category() {
  16. return "esm";
  17. }
  18. }
  19. makeSerializable(
  20. ConsumeSharedFallbackDependency,
  21. "webpack/lib/sharing/ConsumeSharedFallbackDependency"
  22. );
  23. module.exports = ConsumeSharedFallbackDependency;