@twind/preset-tailwind
Advanced tools
Comparing version 1.0.0-next.26 to 1.0.0-next.27
# @twind/preset-tailwind | ||
## 1.0.0-next.27 | ||
### Patch Changes | ||
- fix: ensure sources are included in sourcemap ([`bbbbd88e`](https://github.com/tw-in-js/twind/commit/bbbbd88efc7cb8c0c1b73ade9249389958e1d7cf)) | ||
- Updated dependencies [[`bbbbd88e`](https://github.com/tw-in-js/twind/commit/bbbbd88efc7cb8c0c1b73ade9249389958e1d7cf), [`e8eaae8b`](https://github.com/tw-in-js/twind/commit/e8eaae8b6034b3117bf781ec374c1cd7e05a2d26), [`b526c888`](https://github.com/tw-in-js/twind/commit/b526c88843424ef8a6caf93c3236947b59414edd)]: | ||
- twind@1.0.0-next.27 | ||
## 1.0.0-next.26 | ||
@@ -4,0 +13,0 @@ |
{ | ||
"name": "@twind/preset-tailwind", | ||
"version": "1.0.0-next.26", | ||
"version": "1.0.0-next.27", | ||
"description": "tailwindcss preset for twind", | ||
@@ -111,3 +111,3 @@ "type": "module", | ||
"peerDependencies": { | ||
"twind": "1.0.0-next.26", | ||
"twind": "1.0.0-next.27", | ||
"typescript": "^4.4.0" | ||
@@ -114,0 +114,0 @@ }, |
@@ -20,4 +20,8 @@ import theme from './defaultTheme.esnext.js'; | ||
}function hashVars(value, { h }) { | ||
// PERF: check for --tw before running the regexp | ||
// if (value.includes('--tw')) { | ||
return value.replace(/--(tw-[\w-]+)\b/g, (_, property)=>'--' + h(property).replace('#', '') | ||
); | ||
// } | ||
// return value | ||
} | ||
@@ -24,0 +28,0 @@ |
@@ -20,4 +20,8 @@ import theme from './defaultTheme.js'; | ||
}function hashVars(value, { h }) { | ||
// PERF: check for --tw before running the regexp | ||
// if (value.includes('--tw')) { | ||
return value.replace(/--(tw-[\w-]+)\b/g, (_, property)=>'--' + h(property).replace('#', '') | ||
); | ||
// } | ||
// return value | ||
} | ||
@@ -24,0 +28,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
949352
10109