webpack/lib/dependencies/PrefetchDependency.js

28 lines
444 B
JavaScript
Raw Permalink Normal View History

2013-05-13 19:34:00 +08:00
/*
MIT License http://www.opensource.org/licenses/mit-license.php
Author Tobias Koppers @sokra
*/
2018-07-30 23:08:51 +08:00
"use strict";
2018-07-30 23:08:51 +08:00
const ModuleDependency = require("./ModuleDependency");
2013-05-13 19:34:00 +08:00
class PrefetchDependency extends ModuleDependency {
2023-05-22 04:31:30 +08:00
/**
* @param {string} request the request string
*/
constructor(request) {
super(request);
}
get type() {
return "prefetch";
}
get category() {
return "esm";
}
2013-05-13 19:34:00 +08:00
}
module.exports = PrefetchDependency;