You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Resolve tailwindcss relative to the file being processed (#386)
* Bump deps
* Cleanup formatting
* Drop support for `prettier-plugin-style-order`
The last release was over 5 years ago
* Ridiculously large config loading refactor
* Resolve `tailwindcss` relative to the file being processed
* Resolve auto-loaded v3 configs relative to the file being processed
* Renamed bundled v3 package
* Ensure CSS imports are inlined
* Add tests
* Only warn once per run
* Include Prettier config path in error messages
* Apply suggestions from code review
Co-authored-by: Robin Malfait <[email protected]>
* Update changelog
* Tweak error message
* Add tests for errors
---------
Co-authored-by: Robin Malfait <[email protected]>
Copy file name to clipboardExpand all lines: CHANGELOG.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,6 +13,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
13
13
- Support sorting in callable template literals ([#367](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/pull/367))
14
14
- Support sorting in function calls mixed with property accesses ([#367](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/pull/367))
15
15
- Handle quote escapes in LESS when sorting `@apply` ([#392](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/pull/392))
16
+
- Improved monorepo support by loading Tailwind CSS relative to the input file instead of prettier config file ([#386](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/pull/386))
17
+
- Improved monorepo support by loading v3 configs relative to the input file instead of prettier config file ([#386](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/pull/386))
0 commit comments