You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the plugin in an embedded studio, such as this example: https://github.com/SimeonGriggs/sanity-remix-template,
importing the plugin into sanity.config.ts is causing the error Cannot use import statement outside a module.
Would adding "type": "module" to package.json correct this?
The text was updated successfully, but these errors were encountered:
Hey there @nboliver-ventureweb I'm not sure, this sounds like it could be an environment/deployment issue with your embedded studio.
Perhaps someone on the Sanity side can weigh in here as this is the first I'm hearing of this kind of issue. Keep in mind I used the official Sanity plugin-kit to build this.
When using the plugin in an embedded studio, such as this example: https://github.com/SimeonGriggs/sanity-remix-template,
importing the plugin into sanity.config.ts is causing the error
Cannot use import statement outside a module
.Would adding
"type": "module"
to package.json correct this?The text was updated successfully, but these errors were encountered: