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

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

F4 Finalna Verzija

  • Property mode set to 100644
File size: 1.0 KB
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 makeSerializable = require("../util/makeSerializable");
9const HarmonyImportDependency = require("./HarmonyImportDependency");
10const NullDependency = require("./NullDependency");
11
12/** @typedef {import("webpack-sources").ReplaceSource} ReplaceSource */
13/** @typedef {import("../Dependency")} Dependency */
14/** @typedef {import("../DependencyTemplate").DependencyTemplateContext} DependencyTemplateContext */
15
16class HarmonyAcceptImportDependency extends HarmonyImportDependency {
17 /**
18 * @param {string} request the request string
19 */
20 constructor(request) {
21 super(request, Number.NaN);
22 this.weak = true;
23 }
24
25 get type() {
26 return "harmony accept";
27 }
28}
29
30makeSerializable(
31 HarmonyAcceptImportDependency,
32 "webpack/lib/dependencies/HarmonyAcceptImportDependency"
33);
34
35HarmonyAcceptImportDependency.Template =
36 /** @type {typeof HarmonyImportDependency.Template} */ (
37 NullDependency.Template
38 );
39
40module.exports = HarmonyAcceptImportDependency;
Note: See TracBrowser for help on using the repository browser.