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