Last change
on this file since 1ad8e64 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 |
|
---|
8 | const makeSerializable = require("../util/makeSerializable");
|
---|
9 | const HarmonyImportDependency = require("./HarmonyImportDependency");
|
---|
10 |
|
---|
11 | /** @typedef {import("webpack-sources").ReplaceSource} ReplaceSource */
|
---|
12 | /** @typedef {import("../Dependency")} Dependency */
|
---|
13 | /** @typedef {import("../DependencyTemplate").DependencyTemplateContext} DependencyTemplateContext */
|
---|
14 |
|
---|
15 | class 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 |
|
---|
26 | makeSerializable(
|
---|
27 | HarmonyAcceptImportDependency,
|
---|
28 | "webpack/lib/dependencies/HarmonyAcceptImportDependency"
|
---|
29 | );
|
---|
30 |
|
---|
31 | HarmonyAcceptImportDependency.Template = class HarmonyAcceptImportDependencyTemplate extends (
|
---|
32 | HarmonyImportDependency.Template
|
---|
33 | ) {};
|
---|
34 |
|
---|
35 | module.exports = HarmonyAcceptImportDependency;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.