a zip code crypto-currency system good for red ONLY

RequireContextDependency.js 665B

123456789101112131415161718192021222324252627
  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 ModuleDependencyTemplateAsRequireId = require("./ModuleDependencyTemplateAsRequireId");
  8. class RequireContextDependency extends ContextDependency {
  9. constructor(request, recursive, regExp, asyncMode, range) {
  10. super(request, recursive, regExp);
  11. this.range = range;
  12. if(asyncMode) {
  13. this.async = asyncMode;
  14. }
  15. }
  16. get type() {
  17. return "require.context";
  18. }
  19. }
  20. RequireContextDependency.Template = ModuleDependencyTemplateAsRequireId;
  21. module.exports = RequireContextDependency;