Comparing version 0.2.3 to 0.2.4
@@ -237,3 +237,3 @@ var path = require( 'path' ), | ||
url = options.inline ? map.toUrl() : path.basename( dest ) + '.map'; | ||
url = options.inline ? map.toUrl() : ( options.absolutePath ? dest : path.basename( dest ) ) + '.map'; | ||
@@ -240,0 +240,0 @@ index = this.content.lastIndexOf( 'sourceMappingURL=' ) + 17; |
{ | ||
"name": "sorcery", | ||
"description": "Resolve a chain of sourcemaps back to the original source", | ||
"version": "0.2.3", | ||
"version": "0.2.4", | ||
"author": "Rich Harris", | ||
@@ -6,0 +6,0 @@ "repository": "https://github.com/Rich-Harris/sorcery", |
@@ -42,2 +42,6 @@ # sorcery.js | ||
// write to a new file but use an absolute path for the | ||
// sourceMappingURL | ||
chain.write( 'output.js', { absolutePath: true }); | ||
// write to a new file, but append the flattened sourcemap as a data URI | ||
@@ -44,0 +48,0 @@ chain.write( 'output.js', { inline: true }); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
18075
109