Error when using Paper from MUI with prerender and only in Production #1573
-
I got the following error when using Paper from MUI after building for production with setting
This is the piece of my code
I have followed Change exports
Settings cjsInterop
Settings noExternal
Nothing works; how do I resolve this? thanks 🙏 |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 7 replies
-
Minimal reproduction welcome and I'll have a look at it. |
Beta Was this translation helpful? Give feedback.
-
well this is kinda silly, don't know how this works, anyway if you want to have a look, this is the repo: https://github.com/teukuridho/vike-react-paper-mui-test |
Beta Was this translation helpful? Give feedback.
I further improved the DX around all that.
Let me know if you still have issues or questions.