This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
Tailwind CSS not being bundled in static export #23191
Labels
bug
Issue was opened via the bug report template.
What version of Next.js are you using?
10.0.8
What version of Node.js are you using?
12.21.0
What browser are you using?
Electron / Chromium
What operating system are you using?
Windows / Linux
How are you deploying your application?
next export
Describe the Bug
Next only correctly bundles / builds Tailwind css for dev / if next js is run as a server. it appears to fail to correctly export tailwind styles in the static export with no errors.
Expected Behavior
I would expect Tailwind CSS to work with the static export like it does in dev
To Reproduce
Download the Next JS & Tailwind CSS example template.
cd into directory, run
yarn next build && yarn next export
there are no styles on the resulting html file.
The text was updated successfully, but these errors were encountered: