Start sharing components as a team!Share components as a team!Join Bit to build your applications faster.Get Started Free

flow

v7.0.1arrow_drop_down
v7.0.1
v7.0.0
v0.0.10
v0.0.9
v0.0.8
v0.0.7
v0.0.6
v0.0.5
v0.0.4
v0.0.3
v0.0.2
v0.0.1
STATUS
Passing
DOWNLOADS
15,569
LICENSE
MIT
VISIBILITY
Public
PUBLISHED
4 months ago
SIZE
426 KB
subject
Bit Flow compiler for transpiling Flow components.
4 contributors
Use flow in your project ?
Copied
npm i @bit/bit.envs.compilers.flow
Set Bit as a scoped registryLearn more
npm config set '@bit:registry' https://node.bit.dev
Component Example
React
React
Vue
Angular
Add dependency... help_outline
Just
import
any of the 1 million components
and packages in Bit or NPM to the example.
import Button from '@bit/grommet.grommet.button';
import Lodash from 'lodash';
revert changes
reload
toggle layout
maximize
modifieddraft
chevron_left
chevron_right

Babel-based transpiling environment.

Bit build environment for transpiling Flow components using Bit.

How to use?

Import the environment.

bit import bit.envs/compilers/flow -c

Then build using bit build.

bit build

What’s inside

  • Compiles js, jsx and ts files.
  • In order to see which babel presets and plugins are used, take a look at the .babelrc file.

Reconfiguring this environment

In case the configuration presets in the .babelrc file of this component are not well suited to your needs, follow these steps to modify it.

Got any issues or questions?

Collaboration on this Bit environment happens in this repository. Please open an issue or submit pull request there.