Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can it be integrated with Babel build process? #17

Open
PolGuixe opened this issue Feb 6, 2019 · 1 comment
Open

Can it be integrated with Babel build process? #17

PolGuixe opened this issue Feb 6, 2019 · 1 comment

Comments

@PolGuixe
Copy link

PolGuixe commented Feb 6, 2019

It may be a basic question, what is the best way to use this script?

Can it be integrated with Babel?

@Macil
Copy link
Owner

Macil commented Feb 6, 2019

Here's an example of a project using flow-copy-source: https://github.com/StreakYC/react-draggable-list/blob/7e2bc3cfbef39ef092bc3a58c534cdb3bbc67e5b/package.json#L8. Having a prepare line like this run rimraf on the output directory and babel and flow-copy-source is how I'd expect flow-copy-source to be used. I think I'll add a recommendation like this to this project's readme.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants