Open tqwewe opened 2 years ago
Describe the bug Trying to sort classes in a .css/.pcss file does not work with VSCode using "PostCSS" for the file.
.css
.pcss
To Reproduce Steps to reproduce the behavior:
"headwind.classRegex": { "css": "\\B@apply\\s+([_a-zA-Z0-9\\s\\-\\:\\/]+);", "postcss": "\\B@apply\\s+([_a-zA-Z0-9\\s\\-\\:\\/]+);" }
styles.css
.button { @apply hover:bg-blue-800 text-white bg-blue-700; }
>Headwind: Sort Tailwind CSS Classes
Expected behavior I expect that PostCSS language should be supported by headwind and classes should be sorted with @apply.
@apply
Screenshots N/A
Desktop (please complete the following information):
v1.7.0
Additional context N/A
Describe the bug Trying to sort classes in a
.css
/.pcss
file does not work with VSCode using "PostCSS" for the file.To Reproduce Steps to reproduce the behavior:
styles.css
and add the following:>Headwind: Sort Tailwind CSS Classes
Expected behavior I expect that PostCSS language should be supported by headwind and classes should be sorted with
@apply
.Screenshots N/A
Desktop (please complete the following information):
v1.7.0
Additional context N/A