svelte-preprocess-cssmodules
Advanced tools
Comparing version 2.1.1 to 2.1.2
# Svelte preprocess CSS Modules, changelog | ||
## 2.1.2 (Jan 8, 2021) | ||
- Fix multiline class attribute [issue 39](https://github.com/micantoine/svelte-preprocess-cssmodules/issues/39) | ||
## 2.1.1 (Oct 27, 2021) | ||
@@ -4,0 +8,0 @@ |
@@ -8,4 +8,5 @@ "use strict"; | ||
let value = currentValue; | ||
if (currentValue in processor.cssModuleList) { | ||
value = processor.cssModuleList[currentValue.trim()]; | ||
const rawValue = value.trim(); | ||
if (rawValue in processor.cssModuleList) { | ||
value = value.replace(rawValue, processor.cssModuleList[rawValue]); | ||
} | ||
@@ -12,0 +13,0 @@ if (currentIndex < classes.length - 1) { |
{ | ||
"name": "svelte-preprocess-cssmodules", | ||
"version": "2.1.1", | ||
"version": "2.1.2", | ||
"description": "Svelte preprocessor to generate CSS Modules classname on Svelte components", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
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
92083
1451