GoScrobble/web/node_modules/webpack/lib/dependencies/HarmonyAcceptImportDependency.js

24 lines
639 B
JavaScript
Raw Permalink Normal View History

2022-04-25 02:47:15 +00:00
/*
MIT License http://www.opensource.org/licenses/mit-license.php
Author Tobias Koppers @sokra
*/
"use strict";
const HarmonyImportDependency = require("./HarmonyImportDependency");
class HarmonyAcceptImportDependency extends HarmonyImportDependency {
constructor(request, originModule, parserScope) {
super(request, originModule, NaN, parserScope);
this.weak = true;
}
get type() {
return "harmony accept";
}
}
HarmonyAcceptImportDependency.Template = class HarmonyAcceptImportDependencyTemplate extends HarmonyImportDependency.Template {
apply(dep, source, runtime) {}
};
module.exports = HarmonyAcceptImportDependency;