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
npm i previewjs/config-helper-nextjs doesn't work since the repo is not publicly available.
Using custom implementation below the automatic results in an error:
Hey @fwouts. I have the same issue. I'm using next with SVGR. I've followed the install guide accordingly. Have the __previewjs__/Wrapper.tsx and the preview.config.js files
Still get the same error.
Describe the bug
https://previewjs.com/docs/guides/nextjs
npm i previewjs/config-helper-nextjs doesn't work since the repo is not publicly available.
Using custom implementation below the automatic results in an error:
TypeError: Cannot redefine property: default
at Function.defineProperty ()
at http://localhost:3140/__previewjs__/Wrapper.tsx?import&t=1703848410741:6:8
Reproduction
Preview.js version
v1.27.3
Framework
^18
System Info
Used Package Manager
npm
Extension logs (useful for crashes)
No response
Preview logs (useful for rendering errors)
No response
Repo link (if available)
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: