flow-copy-source icon indicating copy to clipboard operation
flow-copy-source copied to clipboard

Can it be integrated with Babel build process?

Open PolGuixe opened this issue 6 years ago • 1 comments

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

Can it be integrated with Babel?

PolGuixe avatar Feb 06 '19 10:02 PolGuixe

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.

Macil avatar Feb 06 '19 21:02 Macil