react

v1.0.1arrow_drop_down
v1.0.1
v1.0.0
v0.0.15
v0.0.14
v0.0.13
v0.0.12
v0.0.11
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
4,721
LICENSE
MIT
VISIBILITY
Public
subject
Bit build enviroment for transpiling React components using Bit.
3 contributors
Like
Use react in your project ?
Copied
npm i @bit/bit.envs.compilers.react
Set Bit as a scoped registryLearn more
npm config set '@bit:registry' https://node.bit.dev
Component Example
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';
<div> <Markdown> {`# Babel-based transpiling environment for React components Bit build enviroment for transpiling React components using Bit. ## How to use Import the environment. bit import bit.envs/compilers/react -c Then build using [bit build](https://docs.bitsrc.io/docs/cli-build.html). 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.`} </Markdown> </div>;
modified
chevron_left
chevron_right

Babel-based transpiling environment for React components

Bit build enviroment for transpiling React components using Bit.

How to use?

Import the environment.

 bit import bit.envs/compilers/react -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.