javascript

roklenarcic 2025-10-13T10:57:13.793689Z

I am looking at Tailwindcss documentation on getting started and they suggest this:

npm install tailwindcss @tailwindcss/cli
But why would I need these dependencies in my production build, why are not these in devDependencies?

Ovi Stoica 2025-10-14T16:06:27.528649Z

You are correct. In production you would just use the compiled css file that results from the tailwind compiler parsing your codebase and adding all of the used classes into the final css file. You can safely add npm i -D …