Skip to content

Fix px value not being recognized for some class groups#538

Merged
dcastil merged 2 commits intomainfrom
bugfix/536/fix-px-value-not-being-recognized-for-some-spacing-scales
Feb 22, 2025
Merged

Fix px value not being recognized for some class groups#538
dcastil merged 2 commits intomainfrom
bugfix/536/fix-px-value-not-being-recognized-for-some-spacing-scales

Conversation

@dcastil
Copy link
Owner

@dcastil dcastil commented Feb 22, 2025

Closes #536

@github-actions github-actions bot added context-v3 Related to tailwind-merge v3 bug Something isn't working labels Feb 22, 2025
@github-actions
Copy link

Metrics report

At head commit 6fcfdad and base commit d862881 at 2025-02-22T17:34:50.120Z

Size

Export Size original Size minified Size minified and Brotli compressed
tailwind-merge esm 83.96 kB -0.2% 🟢 22.45 kB -0.3% 🟢 6.31 kB 0.0% 🔴
 › extendTailwindMerge 83.25 kB -0.2% 🟢 21.81 kB -0.3% 🟢 6.05 kB +0.2% 🔴
 › getDefaultConfig 67.49 kB -0.2% 🟢 17.32 kB -0.3% 🟢 4.47 kB -0.5% 🟢
 › twMerge 80.94 kB -0.2% 🟢 20.96 kB -0.3% 🟢 5.88 kB +0.3% 🔴
tailwind-merge cjs 84.21 kB -0.2% 🟢 28.11 kB -0.9% 🟢 6.65 kB +0.2% 🔴
tailwind-merge/es5 esm 89.18 kB -0.2% 🟢 24.36 kB -0.3% 🟢 6.50 kB -0.3% 🟢
 › extendTailwindMerge 88.09 kB -0.2% 🟢 23.73 kB -0.3% 🟢 6.29 kB +0.3% 🔴
 › getDefaultConfig 69.86 kB -0.3% 🟢 18.43 kB -0.4% 🟢 4.56 kB -0.5% 🟢
 › twMerge 85.17 kB -0.2% 🟢 22.66 kB -0.3% 🟢 6.00 kB -0.4% 🟢
tailwind-merge/es5 cjs 89.44 kB -0.2% 🟢 30.05 kB -0.9% 🟢 6.84 kB -0.7% 🟢
All size metrics
Export Size original Size minified Size minified and Brotli compressed
tailwind-merge esm 83.96 kB -0.2% 🟢 22.45 kB -0.3% 🟢 6.31 kB 0.0% 🔴
 › createTailwindMerge 13.42 kB 0% 3.61 kB 0% 1.44 kB 0%
 › extendTailwindMerge 83.25 kB -0.2% 🟢 21.81 kB -0.3% 🟢 6.05 kB +0.2% 🔴
 › fromTheme 0.16 kB 0% 0.08 kB 0% 0.09 kB 0%
 › getDefaultConfig 67.49 kB -0.2% 🟢 17.32 kB -0.3% 🟢 4.47 kB -0.5% 🟢
 › mergeConfigs 2.12 kB 0% 0.80 kB 0% 0.27 kB 0%
 › twJoin 1.06 kB 0% 0.26 kB 0% 0.16 kB 0%
 › twMerge 80.94 kB -0.2% 🟢 20.96 kB -0.3% 🟢 5.88 kB +0.3% 🔴
 › validators 4.49 kB 0% 1.69 kB 0% 0.73 kB 0%
tailwind-merge cjs 84.21 kB -0.2% 🟢 28.11 kB -0.9% 🟢 6.65 kB +0.2% 🔴
tailwind-merge/es5 esm 89.18 kB -0.2% 🟢 24.36 kB -0.3% 🟢 6.50 kB -0.3% 🟢
 › createTailwindMerge 15.28 kB 0% 4.20 kB 0% 1.56 kB 0%
 › extendTailwindMerge 88.09 kB -0.2% 🟢 23.73 kB -0.3% 🟢 6.29 kB +0.3% 🔴
 › fromTheme 0.21 kB 0% 0.10 kB 0% 0.09 kB 0%
 › getDefaultConfig 69.86 kB -0.3% 🟢 18.43 kB -0.4% 🟢 4.56 kB -0.5% 🟢
 › mergeConfigs 2.47 kB 0% 0.87 kB 0% 0.29 kB 0%
 › twJoin 1.08 kB 0% 0.26 kB 0% 0.14 kB 0%
 › twMerge 85.17 kB -0.2% 🟢 22.66 kB -0.3% 🟢 6.00 kB -0.4% 🟢
 › validators 6.09 kB 0% 2.23 kB 0% 0.76 kB 0%
tailwind-merge/es5 cjs 89.44 kB -0.2% 🟢 30.05 kB -0.9% 🟢 6.84 kB -0.7% 🟢

@codspeed-hq
Copy link

codspeed-hq bot commented Feb 22, 2025

CodSpeed Performance Report

Merging #538 will not alter performance

Comparing bugfix/536/fix-px-value-not-being-recognized-for-some-spacing-scales (6fcfdad) with main (d862881)

Summary

✅ 5 untouched benchmarks

@dcastil dcastil merged commit 2475d15 into main Feb 22, 2025
7 checks passed
@dcastil dcastil deleted the bugfix/536/fix-px-value-not-being-recognized-for-some-spacing-scales branch February 22, 2025 17:36
@github-actions
Copy link

This was addressed in release v3.0.2.

Repository owner deleted a comment from github-actions bot Feb 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working context-v3 Related to tailwind-merge v3

Projects

None yet

Development

Successfully merging this pull request may close these issues.

.gap-px utility is not merged with .gap-1

1 participant

Comments