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.

AMDRequireContextDependency.js 543B

1234567891011121314151617181920
  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;