source: imaps-frontend/node_modules/webpack/lib/dependencies/LoaderDependency.js@ 79a0317

main
Last change on this file since 79a0317 was 79a0317, checked in by stefan toskovski <stefantoska84@…>, 4 days ago

F4 Finalna Verzija

  • Property mode set to 100644
File size: 997 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
8const ModuleDependency = require("./ModuleDependency");
9
10/** @typedef {import("../Dependency").GetConditionFn} GetConditionFn */
11/** @typedef {import("../ModuleGraph")} ModuleGraph */
12/** @typedef {import("../ModuleGraphConnection")} ModuleGraphConnection */
13/** @typedef {import("../ModuleGraphConnection").ConnectionState} ConnectionState */
14/** @typedef {import("../util/runtime").RuntimeSpec} RuntimeSpec */
15
16class LoaderDependency extends ModuleDependency {
17 /**
18 * @param {string} request request string
19 */
20 constructor(request) {
21 super(request);
22 }
23
24 get type() {
25 return "loader";
26 }
27
28 get category() {
29 return "loader";
30 }
31
32 /**
33 * @param {ModuleGraph} moduleGraph module graph
34 * @returns {null | false | GetConditionFn} function to determine if the connection is active
35 */
36 getCondition(moduleGraph) {
37 return false;
38 }
39}
40
41module.exports = LoaderDependency;
Note: See TracBrowser for help on using the repository browser.