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

Better way to run the Tailwind CSS compiler. #239

Open
jub0t opened this issue Apr 1, 2024 · 0 comments
Open

Better way to run the Tailwind CSS compiler. #239

jub0t opened this issue Apr 1, 2024 · 0 comments
Labels
documentation Improvements or additions to documentation

Comments

@jub0t
Copy link

jub0t commented Apr 1, 2024

The Tailwind command can be defined in a package.json and called using npm run [cmd].

"scripts": {
   "css-dev": "npx tailwindcss -i ./tailwind.css -o ./public/tailwind.css --watch --minify"
}
npm run css-dev

Also the use of the --minify flag can generate minified code.

@ealmloff ealmloff added the documentation Improvements or additions to documentation label Apr 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants