Last change
on this file since 1ad8e64 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
581 bytes
|
Line | |
---|
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 EntryDependency extends ModuleDependency {
|
---|
12 | /**
|
---|
13 | * @param {string} request request path for entry
|
---|
14 | */
|
---|
15 | constructor(request) {
|
---|
16 | super(request);
|
---|
17 | }
|
---|
18 |
|
---|
19 | get type() {
|
---|
20 | return "entry";
|
---|
21 | }
|
---|
22 |
|
---|
23 | get category() {
|
---|
24 | return "esm";
|
---|
25 | }
|
---|
26 | }
|
---|
27 |
|
---|
28 | makeSerializable(EntryDependency, "webpack/lib/dependencies/EntryDependency");
|
---|
29 |
|
---|
30 | module.exports = EntryDependency;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.