您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

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;