Open nboliver-ventureweb opened 2 months ago
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?