Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve new JIT-compatible CLI #4558

Merged
merged 22 commits into from
Jun 4, 2021
Merged

Improve new JIT-compatible CLI #4558

merged 22 commits into from
Jun 4, 2021

Conversation

adamwathan
Copy link
Member

This PR introduces a bunch of improvements to the new CLI, both to bring it up to parity with the existing CLI as well as adding new features:

  • Add --no-autoprefixer flag
  • Support init to a custom config path
  • Support for building to stdout
  • Bundling peer dependencies so CLI can be used from tailwindcss instead of tailwindcss-cli
  • Support for custom postcss.config.js files
  • Support for --minify

adamwathan and others added 22 commits June 3, 2021 16:01
WIP

Verified

This commit was signed with the committer’s verified signature.
luke-hill Luke Hill

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
By default when you just run `tailwindcss` it will print the help
message. If you run `tailwindcss build` it will print to stdout, and
thus you can do `tailwindcss build > output.css`. However, we want just
`tailwindcss` to be able to compile as well. This means that:

- `tailwindcss` will print the help text
- `tailwindcss > output.css` will actually compile and write to the
  file.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.

Verified

This commit was signed with the committer’s verified signature.
nodeg Dominik Gedon
This uses `cssnano`, and is also lazy loaded when you are passing the
`--minify` flag.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Copy & paste error!

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.

Verified

This commit was signed with the committer’s verified signature.
mpkorstanje M.P. Korstanje

Verified

This commit was signed with the committer’s verified signature.
mpkorstanje M.P. Korstanje
@adamwathan adamwathan merged commit 746a126 into master Jun 4, 2021
@adamwathan adamwathan deleted the cli-updates branch June 4, 2021 14:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants