PrefetchDependency.js 387 B

123456789101112131415161718192021222324
  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("./ModuleDependency");
  7. class PrefetchDependency extends ModuleDependency {
  8. constructor(request) {
  9. super(request);
  10. }
  11. get type() {
  12. return "prefetch";
  13. }
  14. get category() {
  15. return "esm";
  16. }
  17. }
  18. module.exports = PrefetchDependency;