AMDRequireContextDependency.js 543 B

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;