svelte-preprocess
Advanced tools
Comparing version 4.10.4 to 4.10.5
@@ -0,1 +1,10 @@ | ||
## [4.10.5](https://github.com/sveltejs/svelte-preprocess/compare/v4.10.4...v4.10.5) (2022-04-04) | ||
### Bug Fixes | ||
* always use absolute paths for less imports ([#495](https://github.com/sveltejs/svelte-preprocess/issues/495)) ([#496](https://github.com/sveltejs/svelte-preprocess/issues/496)) ([be0fda4](https://github.com/sveltejs/svelte-preprocess/commit/be0fda4ddbe95040221ff248ccbb492fb5555334)) | ||
## [4.10.4](https://github.com/sveltejs/svelte-preprocess/compare/v4.10.3...v4.10.4) (2022-02-23) | ||
@@ -2,0 +11,0 @@ |
@@ -7,2 +7,3 @@ "use strict"; | ||
exports.transformer = void 0; | ||
const path_1 = require("path"); | ||
const less_1 = __importDefault(require("less")); | ||
@@ -20,8 +21,9 @@ const utils_1 = require("../modules/utils"); | ||
}); | ||
const dependencies = imports.map((path) => (0, path_1.isAbsolute)(path) ? path : (0, path_1.join)(process.cwd(), path)); | ||
return { | ||
code: css, | ||
map, | ||
dependencies: imports, | ||
dependencies, | ||
}; | ||
}; | ||
exports.transformer = transformer; |
{ | ||
"name": "svelte-preprocess", | ||
"version": "4.10.4", | ||
"version": "4.10.5", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
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
147637
2182