X Tutup
Skip to content

The compiler should handle common file formats : YAML, MDX, CSV #1948

@laem

Description

@laem

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

  1. Try the compiler with a Nextjs project that imports a YAML file e.g. for defining theme colors
  2. Or try this real world project
  3. 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

Image Image

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      X Tutup