Skip to content
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

docs: update Remix config to use ESM #1710

Merged
merged 3 commits into from
Oct 16, 2023
Merged

Conversation

wobsoriano
Copy link
Contributor

Generating a Remix app now defaults to an ES Module ("type": "module"). I got an error following this config:

Screenshot 2023-10-09 at 12 24 02 PM

To fix it, we just need to update module.exports in the postcss config example to use export default. I updated the tailwind config also for consistency.

@vercel
Copy link

vercel bot commented Oct 9, 2023

@wobsoriano is attempting to deploy a commit to the shadcn-pro Team on Vercel.

A member of the Team first needs to authorize it.

Copy link
Collaborator

@shadcn shadcn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you.

@shadcn shadcn merged commit 4083876 into shadcn-ui:main Oct 16, 2023
@shadcn shadcn added documentation Improvements or additions to documentation area: www labels Oct 16, 2023
kjxbyz pushed a commit to muse-ui/muse-ui that referenced this pull request Jun 7, 2024
* docs(remix): replace postcss config sample to use export default

* docs(remix): replace tailwind config sample to use export default

---------

Co-authored-by: shadcn <[email protected]>
artabr pushed a commit to artabr/shadcn-ui that referenced this pull request Dec 15, 2024
* docs(remix): replace postcss config sample to use export default

* docs(remix): replace tailwind config sample to use export default

---------

Co-authored-by: shadcn <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: www documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants