source-map-resolve.js.template 793 B

1234567891011121314151617181920212223
  1. // Copyright 2014, 2015, 2016, 2017 Simon Lydell
  2. // X11 (“MIT”) Licensed. (See LICENSE.)
  3. // Note: source-map-resolve.js is generated from source-map-resolve-node.js and
  4. // source-map-resolve-template.js. Only edit the two latter files, _not_
  5. // source-map-resolve.js!
  6. void (function(root, factory) {
  7. if (typeof define === "function" && define.amd) {
  8. define(["source-map-url", "resolve-url"], factory)
  9. } else if (typeof exports === "object") {
  10. var sourceMappingURL = require("source-map-url")
  11. var resolveUrl = require("resolve-url")
  12. module.exports = factory(sourceMappingURL, resolveUrl)
  13. } else {
  14. root.sourceMapResolve = factory(root.sourceMappingURL, root.resolveUrl)
  15. }
  16. }(this, function(sourceMappingURL, resolveUrl) {
  17. {{source-map-resolve-node.js}}
  18. }));