teambit / bit.envs

DEPRECATED - Bit compilers and testers were moved to https://github.com/teambit/envs
https://bit.dev/bit/envs
Other
23 stars 9 forks source link

react-flow compiler #50

Open techieshark opened 4 years ago

techieshark commented 4 years ago

Initially reported here - https://github.com/teambit/bit/issues/1513

Expected Behavior

I can import a compiler like: bit import bit.envs/compilers/react-flow --compiler.

Actual Behavior

I can only import a compiler like bit import bit.envs/compilers/react --compiler or bit import bit.envs/compilers/flow --compiler

Whenever I use either of these I cannot bit tag because it will fail to build hence it will break on either React or Flow syntax.

qballer commented 4 years ago

We will be rolling out a new babel compiler soon('ish). This will be able to compile any babel based configuration by reading your project configuration. I'm assuming you compile using babel, will that work for you ?