esbuild-sass-plugin
Advanced tools
Comparing version 2.2.1 to 2.2.2
@@ -140,5 +140,4 @@ "use strict"; | ||
sourceMap.sourceRoot = basedir; | ||
sourceMap.sources[sourceMap.sources.length - 1] = (0, url_1.pathToFileURL)(path).href; | ||
sourceMap.sources = sourceMap.sources.map(source => { | ||
return source.startsWith('file://') ? (0, path_1.relative)(basedir, (0, url_1.fileURLToPath)(source)) : source; | ||
return (0, path_1.relative)(basedir, source.startsWith("data:") ? path : (0, url_1.fileURLToPath)(source)); | ||
}); | ||
@@ -145,0 +144,0 @@ cssText += '\n' + (0, utils_1.sourceMappingURL)(sourceMap); |
{ | ||
"name": "esbuild-sass-plugin", | ||
"version": "2.2.1", | ||
"version": "2.2.2", | ||
"description": "esbuild plugin for sass/scss files supporting both css loader and css result import (lit-element)", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
Sorry, the diff of this file is not supported yet
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
44543
494