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
617 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 ContextDependency = require("./ContextDependency");
  7. const ContextDependencyTemplateAsId = require("./ContextDependencyTemplateAsId");
  8. class RequireResolveContextDependency extends ContextDependency {
  9. constructor(options, range, valueRange) {
  10. super(options);
  11. this.range = range;
  12. this.valueRange = valueRange;
  13. }
  14. get type() {
  15. return "amd require context";
  16. }
  17. }
  18. RequireResolveContextDependency.Template = ContextDependencyTemplateAsId;
  19. module.exports = RequireResolveContextDependency;