main
Last change
on this file was 79a0317, checked in by stefan toskovski <stefantoska84@…>, 4 days ago |
F4 Finalna Verzija
|
-
Property mode
set to
100644
|
File size:
632 bytes
|
Rev | Line | |
---|
[79a0317] | 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 makeSerializable = require("../util/makeSerializable");
|
---|
| 9 | const ModuleDependency = require("./ModuleDependency");
|
---|
| 10 |
|
---|
| 11 | class DelegatedSourceDependency extends ModuleDependency {
|
---|
| 12 | /**
|
---|
| 13 | * @param {string} request the request string
|
---|
| 14 | */
|
---|
| 15 | constructor(request) {
|
---|
| 16 | super(request);
|
---|
| 17 | }
|
---|
| 18 |
|
---|
| 19 | get type() {
|
---|
| 20 | return "delegated source";
|
---|
| 21 | }
|
---|
| 22 |
|
---|
| 23 | get category() {
|
---|
| 24 | return "esm";
|
---|
| 25 | }
|
---|
| 26 | }
|
---|
| 27 |
|
---|
| 28 | makeSerializable(
|
---|
| 29 | DelegatedSourceDependency,
|
---|
| 30 | "webpack/lib/dependencies/DelegatedSourceDependency"
|
---|
| 31 | );
|
---|
| 32 |
|
---|
| 33 | module.exports = DelegatedSourceDependency;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.