Last change
on this file since 571e0df was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
387 bytes
|
Rev | Line | |
---|
[6a3a178] | 1 | /*
|
---|
| 2 | MIT License http://www.opensource.org/licenses/mit-license.php
|
---|
| 3 | Author Tobias Koppers @sokra
|
---|
| 4 | */
|
---|
| 5 |
|
---|
| 6 | "use strict";
|
---|
| 7 |
|
---|
| 8 | const ModuleDependency = require("./ModuleDependency");
|
---|
| 9 |
|
---|
| 10 | class PrefetchDependency extends ModuleDependency {
|
---|
| 11 | constructor(request) {
|
---|
| 12 | super(request);
|
---|
| 13 | }
|
---|
| 14 |
|
---|
| 15 | get type() {
|
---|
| 16 | return "prefetch";
|
---|
| 17 | }
|
---|
| 18 |
|
---|
| 19 | get category() {
|
---|
| 20 | return "esm";
|
---|
| 21 | }
|
---|
| 22 | }
|
---|
| 23 |
|
---|
| 24 | module.exports = PrefetchDependency;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.