source: trip-planner-front/node_modules/webpack/lib/dependencies/HarmonyAcceptImportDependency.js

Last change on this file was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

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