UI for Zipcoin Blue

RequireResolveDependency.js 526B

1234567891011121314151617181920212223
  1. /*
  2. MIT License http://www.opensource.org/licenses/mit-license.php
  3. Author Tobias Koppers @sokra
  4. */
  5. "use strict";
  6. const ModuleDependency = require("./ModuleDependency");
  7. const ModuleDependencyAsId = require("./ModuleDependencyTemplateAsId");
  8. class RequireResolveDependency extends ModuleDependency {
  9. constructor(request, range) {
  10. super(request);
  11. this.range = range;
  12. }
  13. get type() {
  14. return "require.resolve";
  15. }
  16. }
  17. RequireResolveDependency.Template = ModuleDependencyAsId;
  18. module.exports = RequireResolveDependency;