Replies: 4 comments 1 reply
-
I'm experiencing the same issue. We were using |
Beta Was this translation helpful? Give feedback.
-
It's hard to judge without more details and reproduction but this issue #7865 might be related and I wrote potential workaround there. |
Beta Was this translation helpful? Give feedback.
-
Hey, did you find a solution for this? |
Beta Was this translation helpful? Give feedback.
-
For anyone who ends up here after searching for the vite config equivalent of |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi 👋 I'd like to ask how to migrate the existing
serverDependenciesToBundle
property? There's a few packages likeremix-i18next
,accept-language-parser
, etc.. which I had to enter.I couldn't find a similar option with Vite. Sadly, If I don't have this option, importing these libraries causes errors. In case of
remix-i18next
, when i try to import it, it throws an error likeUnexpected token "export"
insideremix-i18next
.I've got
"type": "module"
in mypackage.json
and also"module": "NodeNext", "moduleResolution":"nodenext", "allowImportingTsExtensions": true
in mytsconfig.json
Beta Was this translation helpful? Give feedback.
All reactions