What's happening?
Hi, as per #1187, it appears that if a Nextjs project imports YAML, CSV or MDX files, the compiler will not work.
I was told about Lingo for its promise of translating React code without modifying the original JSX.
But if this mode only works without the aforementioned imports, I'm afraid not a a lot of real world projects will be using Lingo's compiler ?
Or did I miss the possibility of blending the compiler with the CLI modes ?
Exact Reproduction Steps
- Try the compiler with a Nextjs project that imports a YAML file e.g. for defining theme colors
- Or try this real world project
- It fails with an error message described here : https://codeberg.org/cartes/web/pulls/1510
Expected
The compiler should handle common text configuration file formats.
Actual
It fails.
Screenshots/Videos
