-
-
Couldn't load subscription status.
- Fork 10.3k
fix: tailwind build error #37728
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
fix: tailwind build error #37728
Conversation
We changed to default to ESM imports a while ago, which means local builds are now breaking because the Tailwind uses a require. Changed to CJS for Tailwind config file. (I have no idea how this has been working on Vercel all this time.)
|
This pull request has been ignored for the connected project Preview Branches by Supabase. |
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
7 Skipped Deployments
|
We changed to default to ESM imports a while ago, which means local builds are now breaking because the Tailwind uses a require. Changed to CJS for Tailwind config file. (I have no idea how this has been working on Vercel all this time.)
We changed to default to ESM imports a while ago, which means local builds are now breaking because the Tailwind uses a require. Changed to CJS for Tailwind config file. (I have no idea how this has been working on Vercel all this time.)
* refactor: reading markdown docs files
Refactor how Markdown docs files are read:
- Reuses the same logic across search index generation & page generation
- Improves the indexed content for search:
- Stops removing MDX components, which often contain useful
information like Admonitions
- Denormalizes Partials and CodeSamples for more complete content
This is a prerequisite step for implementing the "Copy docs as Markdown"
functionality.
Only touches regular guides for now, not federated ones.
* fix: tailwind build error (#37728)
We changed to default to ESM imports a while ago, which means local
builds are now breaking because the Tailwind uses a require. Changed to
CJS for Tailwind config file. (I have no idea how this has been working
on Vercel all this time.)
* style: prettier
We changed to default to ESM imports a while ago, which means local builds are now breaking because the Tailwind uses a require. Changed to CJS for Tailwind config file. (I have no idea how this has been working on Vercel all this time.)
* refactor: reading markdown docs files
Refactor how Markdown docs files are read:
- Reuses the same logic across search index generation & page generation
- Improves the indexed content for search:
- Stops removing MDX components, which often contain useful
information like Admonitions
- Denormalizes Partials and CodeSamples for more complete content
This is a prerequisite step for implementing the "Copy docs as Markdown"
functionality.
Only touches regular guides for now, not federated ones.
* fix: tailwind build error (#37728)
We changed to default to ESM imports a while ago, which means local
builds are now breaking because the Tailwind uses a require. Changed to
CJS for Tailwind config file. (I have no idea how this has been working
on Vercel all this time.)
* style: prettier
We changed to default to ESM imports a while ago, which means local builds are now breaking because the Tailwind uses a require. Changed to CJS for Tailwind config file. (I have no idea how this has been working on Vercel all this time.)