You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
639 B

4 years ago
  1. /*
  2. MIT License http://www.opensource.org/licenses/mit-license.php
  3. Author Tobias Koppers @sokra
  4. */
  5. "use strict";
  6. const HarmonyImportDependency = require("./HarmonyImportDependency");
  7. class HarmonyAcceptImportDependency extends HarmonyImportDependency {
  8. constructor(request, originModule, parserScope) {
  9. super(request, originModule, NaN, parserScope);
  10. this.weak = true;
  11. }
  12. get type() {
  13. return "harmony accept";
  14. }
  15. }
  16. HarmonyAcceptImportDependency.Template = class HarmonyAcceptImportDependencyTemplate extends HarmonyImportDependency.Template {
  17. apply(dep, source, runtime) {}
  18. };
  19. module.exports = HarmonyAcceptImportDependency;