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
[12:48:23 PM] ERROR Nuxt Build Error: [vite]: Rollup failed to resolve import "react/jsx-runtime" from "/Users/bart/Documents/viu-web/node_modules/@sanity/visual-editing/dist/_chunks-es/renderVisualEditing.js". This is most likely unintended because it can break your application at runtime. If you do want to externalize this module explicitly add it to build.rollupOptions.external
Version
module: "@nuxtjs/sanity": "^1.12.1"
nuxt: ^3.13.0,
Nuxt configuration
Reproduction
Link:
will follow soon
What is expected?
yarn build
builds without errors.What is actually happening?
the build fails with following message:
[12:48:23 PM] ERROR Nuxt Build Error: [vite]: Rollup failed to resolve import "react/jsx-runtime" from "/Users/bart/Documents/viu-web/node_modules/@sanity/visual-editing/dist/_chunks-es/renderVisualEditing.js". This is most likely unintended because it can break your application at runtime. If you do want to externalize this module explicitly add it to build.rollupOptions.external
Steps to reproduce
Run:
yarn build
Additional information
i assume it happens from this: 13737c5
Checklist
What is expected?
nuxt build gets build without error above.
What is actually happening?
The text was updated successfully, but these errors were encountered: