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:
765 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 | const NullDependency = require("./NullDependency");
|
---|
| 11 |
|
---|
| 12 | class RequireEnsureItemDependency extends ModuleDependency {
|
---|
| 13 | /**
|
---|
| 14 | * @param {string} request the request string
|
---|
| 15 | */
|
---|
| 16 | constructor(request) {
|
---|
| 17 | super(request);
|
---|
| 18 | }
|
---|
| 19 |
|
---|
| 20 | get type() {
|
---|
| 21 | return "require.ensure item";
|
---|
| 22 | }
|
---|
| 23 |
|
---|
| 24 | get category() {
|
---|
| 25 | return "commonjs";
|
---|
| 26 | }
|
---|
| 27 | }
|
---|
| 28 |
|
---|
| 29 | makeSerializable(
|
---|
| 30 | RequireEnsureItemDependency,
|
---|
| 31 | "webpack/lib/dependencies/RequireEnsureItemDependency"
|
---|
| 32 | );
|
---|
| 33 |
|
---|
| 34 | RequireEnsureItemDependency.Template = NullDependency.Template;
|
---|
| 35 |
|
---|
| 36 | module.exports = RequireEnsureItemDependency;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.