tailwindcss/packages/@tailwindcss-upgrade
Robin Malfait 1d1535af90
ensure \n\n are kept as \n\n
When splitting `'foo\n\nbar'` by `\n`, you will get `['foo', '', 'bar']`.

The `''` value will result in `[]` after the word wrapping. This
information gets lost when we `flatMap`, so let's keep the newline using
`['']` as the fallback.
2025-08-28 16:56:56 +02:00
..
src ensure \n\n are kept as \n\n 2025-08-28 16:56:56 +02:00
package.json Prepare v4.1.12 release (#18728) 2025-08-14 14:35:49 +02:00
README.md update READMEs 2025-07-02 22:49:47 +02:00
tsconfig.json Internal refactor, introduce AtRule (#14802) 2024-10-29 01:17:25 +01:00
tsup.config.ts Add initial codemod tooling (#14434) 2024-09-18 16:45:43 +02:00

Tailwind CSS

A utility-first CSS framework for rapidly building custom user interfaces.

Build Status Total Downloads Latest Release License


Documentation

For full documentation, visit tailwindcss.com.

Community

For help, discussion about best practices, or feature ideas:

Discuss Tailwind CSS on GitHub

Contributing

If you're interested in contributing to Tailwind CSS, please read our contributing docs before submitting a pull request.