No description
Find a file
Robin Malfait c550a62be4
[v4] Make CSS optimization and minification configurable (#13130)
* only run Lightning CSS when passing `--minify` to the CLI

* only optimize the CSS when creating a production build

* add `optimize` option to PostCSS plugin

- The optimize option can be set to `true`, which will optimize
  (unnesting, adding browser prefixes, lowering values) and minify
- The optimize option can also be set to `{ minify: false }`, which will
  optimize but not minify.

* default `optimize` option to the true for `NODE_ENV=production`

* add `--optimize` flag to CLI

This will only optimize the CSS output without minification.

* update `--minify` description

* update changelog
2024-03-08 18:36:07 +01:00
.github [v4] Android binaries for Oxide (#13115) 2024-03-08 12:08:24 -05:00
oxide [v4] Android binaries for Oxide (#13115) 2024-03-08 12:08:24 -05:00
packages [v4] Make CSS optimization and minification configurable (#13130) 2024-03-08 18:36:07 +01:00
playgrounds introduce v4 codebase 2024-03-05 14:29:15 +01:00
scripts introduce v4 codebase 2024-03-05 14:29:15 +01:00
.gitignore introduce v4 codebase 2024-03-05 14:29:15 +01:00
.npmrc introduce v4 codebase 2024-03-05 14:29:15 +01:00
.prettierignore introduce v4 codebase 2024-03-05 14:29:15 +01:00
CHANGELOG.md [v4] Make CSS optimization and minification configurable (#13130) 2024-03-08 18:36:07 +01:00
LICENSE Add README, LICENSE, and CONTRIBUTING (#13088) 2024-03-05 14:45:39 -05:00
package.json introduce v4 codebase 2024-03-05 14:29:15 +01:00
pnpm-lock.yaml [v4] Android binaries for Oxide (#13115) 2024-03-08 12:08:24 -05:00
pnpm-workspace.yaml introduce v4 codebase 2024-03-05 14:29:15 +01:00
README.md Copy README file to every package (#13096) 2024-03-06 08:49:31 -05:00
turbo.json introduce v4 codebase 2024-03-05 14:29:15 +01:00
vitest.workspace.ts introduce v4 codebase 2024-03-05 14:29:15 +01: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 any other conversation that would benefit from being searchable:

Discuss Tailwind CSS on GitHub

For chatting with others using the framework:

Join the Tailwind CSS Discord Server

Contributing

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