Closed mogadanez closed 7 months ago
Having the first issue too with ES module being imported in commonjs. I am trying to add remix-i18next
.
The only way I could quickly solve is by adding to my remix-config.js
the option serverDependenciesToBundle: "all"
. But not sure how this impacts the output size.
While remix-i18next itself is ESM only, other packages like i18next-fs-backend
may not, you will need to bundle them on the server. Or if you're using CJS you will need to bundle remix-i18next itself.
Related the type issue, most likely you don't have moduleResolution set to Bundler in your tsconfig.json
Describe the bug
trying setup by instruction, but I have also MUI in my project. due this I have to use:
in my remix.config.js
with it I got follow error when start:
Another Issue, in i18next.server.ts type is not observed( see screenshot )
Your Example Website or App
https://github.com/mui/material-ui/tree/master/examples/material-ui-remix-ts
Steps to Reproduce the Bug or Issue
Expected behavior
Expect to MUI and remix-i18next works together
Screenshots or Videos
Platform
Additional context
No response