Last change
on this file since 59329aa was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
575 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 makeSerializable = require("../util/makeSerializable");
|
---|
| 9 | const ModuleDependency = require("./ModuleDependency");
|
---|
| 10 |
|
---|
| 11 | class DelegatedSourceDependency extends ModuleDependency {
|
---|
| 12 | constructor(request) {
|
---|
| 13 | super(request);
|
---|
| 14 | }
|
---|
| 15 |
|
---|
| 16 | get type() {
|
---|
| 17 | return "delegated source";
|
---|
| 18 | }
|
---|
| 19 |
|
---|
| 20 | get category() {
|
---|
| 21 | return "esm";
|
---|
| 22 | }
|
---|
| 23 | }
|
---|
| 24 |
|
---|
| 25 | makeSerializable(
|
---|
| 26 | DelegatedSourceDependency,
|
---|
| 27 | "webpack/lib/dependencies/DelegatedSourceDependency"
|
---|
| 28 | );
|
---|
| 29 |
|
---|
| 30 | module.exports = DelegatedSourceDependency;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.