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