aboutsummaryrefslogtreecommitdiff
path: root/node_modules/source-map-resolve/source-map-resolve.js.template
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/source-map-resolve/source-map-resolve.js.template')
-rw-r--r--node_modules/source-map-resolve/source-map-resolve.js.template22
1 files changed, 22 insertions, 0 deletions
diff --git a/node_modules/source-map-resolve/source-map-resolve.js.template b/node_modules/source-map-resolve/source-map-resolve.js.template
new file mode 100644
index 0000000..813198a
--- /dev/null
+++ b/node_modules/source-map-resolve/source-map-resolve.js.template
@@ -0,0 +1,22 @@
+// Copyright 2014, 2015, 2016, 2017 Simon Lydell
+// X11 (“MIT”) Licensed. (See LICENSE.)
+
+// Note: source-map-resolve.js is generated from source-map-resolve-node.js and
+// source-map-resolve-template.js. Only edit the two latter files, _not_
+// source-map-resolve.js!
+
+void (function(root, factory) {
+ if (typeof define === "function" && define.amd) {
+ define(["source-map-url", "resolve-url"], factory)
+ } else if (typeof exports === "object") {
+ var sourceMappingURL = require("source-map-url")
+ var resolveUrl = require("resolve-url")
+ module.exports = factory(sourceMappingURL, resolveUrl)
+ } else {
+ root.sourceMapResolve = factory(root.sourceMappingURL, root.resolveUrl)
+ }
+}(this, function(sourceMappingURL, resolveUrl) {
+
+ {{source-map-resolve-node.js}}
+
+}));