diff options
Diffstat (limited to 'node_modules/webpack/lib/dependencies/PrefetchDependency.js')
| -rw-r--r-- | node_modules/webpack/lib/dependencies/PrefetchDependency.js | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/node_modules/webpack/lib/dependencies/PrefetchDependency.js b/node_modules/webpack/lib/dependencies/PrefetchDependency.js new file mode 100644 index 00000000..59e22c59 --- /dev/null +++ b/node_modules/webpack/lib/dependencies/PrefetchDependency.js @@ -0,0 +1,27 @@ +/* + MIT License http://www.opensource.org/licenses/mit-license.php + Author Tobias Koppers @sokra +*/ + +"use strict"; + +const ModuleDependency = require("./ModuleDependency"); + +class PrefetchDependency extends ModuleDependency { + /** + * @param {string} request the request string + */ + constructor(request) { + super(request); + } + + get type() { + return "prefetch"; + } + + get category() { + return "esm"; + } +} + +module.exports = PrefetchDependency; |
