Skip to content
This repository was archived by the owner on Jun 8, 2019. It is now read-only.
This repository was archived by the owner on Jun 8, 2019. It is now read-only.

Does this work with create-react-app? #108

@bmueller-sykes

Description

@bmueller-sykes

I'm pretty sure the answer to my question is "no", but I want to ask it anyway, just to be sure.

So my understanding is that I were to go the .babelrc route that when I build a project, I'd wind up with a translations JSON file somewhere in my build folder, which I could then hand off to a translation service. But after some digging around, it would appear that the only way to get this plugin to work with a create-react-app-based app is to eject the app, which I don't want to do.

So given that issue, I think the only currently solution is to write a script that I can invoke directly in NodeJS at the command line. I did that, and the code seems to do the right thing (I can share that code, if people want it).

Obviously, it would be cleaner if this could just be part of the translation process, so I was hoping that I was missing something, and that it could be done with a CRA-based app.

Thanks in advance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions