Tailwind core/reset file added after other css files in astro build #4614
Labels
- P4: important
Violate documented behavior or significantly impacts performance (priority)
feat: styling
Related to styles (scope)
What version of
astro
are you using?1.1.3
Are you using an SSR adapter? If so, which one?
None
What package manager are you using?
yarn
What operating system are you using?
Windows
Describe the Bug
Tailwind CSS files in build are being added last (or second last), causing tailwind reset file to override scoped (in file) CSS.
To replicate...
astro add tailwind
astro build
Link to Minimal Reproducible Example
https://stackblitz.com/edit/github-vymz2e?file=tsconfig.json,astro.config.mjs,tailwind.config.cjs,package.json,src%2Fconfig.ts,src%2Fenv.d.ts,src%2Fpages%2Fblog.astro,src%2Flayouts%2FBlogPost.astro,dist%2Findex.html&on=stackblitz
Participation
The text was updated successfully, but these errors were encountered: