Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

Tailwind CSS not being bundled in static export #23191

Closed
Lite5h4dow opened this issue Mar 18, 2021 · 0 comments
Closed

Tailwind CSS not being bundled in static export #23191

Lite5h4dow opened this issue Mar 18, 2021 · 0 comments
Labels
bug Issue was opened via the bug report template.

Comments

@Lite5h4dow
Copy link

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.

@Lite5h4dow Lite5h4dow added the bug Issue was opened via the bug report template. label Mar 18, 2021
@vercel vercel locked and limited conversation to collaborators Mar 18, 2021

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
bug Issue was opened via the bug report template.
Projects
None yet
Development

No branches or pull requests

2 participants