Open Leo-Schmit opened 2 months ago
I have the same issue but with the ES localization
Hey sorry for the late reply, we need to look into this as it has it keeps popping up. It has been very difficult to get the bundler to play nice with these files. One (very ugly) workaround can be to copy the contents of the localization file to your project (is just a plain JS object) and use that in the meantime.
I got the same kind of error when importing locale files. I mananged to work around it by changing
import { MRT_Localization_SV } from "mantine-react-table/locales/sv";
to
import { MRT_Localization_SV } from "mantine-react-table/locales/sv/index.cjs";
mantine-react-table version
2.0.0-beta.6
react & react-dom versions
18.3.1
Describe the bug and the steps to reproduce it
https://v2.mantine-react-table.com/docs/guides/localization#localization-(i18n)-guide Click "open code sandbox"
Minimal, Reproducible Example - (Optional, but Recommended)
https://codesandbox.io/p/devbox/github/KevinVandy/mantine-react-table/tree/v2/apps/mantine-react-table-docs/examples/localization-i18n-fr/sandbox?file=%2Fsrc%2FTS.tsx
Screenshots or Videos (Optional)
Do you intend to try to help solve this bug with your own PR?
None
Terms