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.

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