generated from Open-Study-College/osc-stack
-
Notifications
You must be signed in to change notification settings - Fork 0
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
Sanity V3 media plugin dependency issue #33
Labels
bug
Something isn't working
Comments
Possible solution? |
The serverDependenciesToBundle option in the config doesn't seem to work with this package. And the rmx-cli doesn't pick it up as an ESM dependency :/ I have a fix in place with some steps needed to apply:
|
Merged
Merged
It looks as though theme-ui has it on their roadmap to fully support ESM/MDX which I imagine should fix this issue |
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
When installing
sanity-plugin-media
an error get's thrown by RemixLink to Reproduction
http://localhost:3000
Steps to reproduce
Install the
sanity-plugin-media
https://github.com/robinpyon/sanity-plugin-media/tree/v3-studio
Import and add the plugin to your
sanity.config.ts
fileRun
When you visit localhost you will be greeted with a similar error
Release Version
1.0.0
Browser
No response
Operating System
Additional Information
This appears to be an issue with Remix not liking the ES module in
@theme-ui/mdx
which is a dependency ofsanity-plugin-media
and doesn't seem to play nice with RemixThe text was updated successfully, but these errors were encountered: