Share your code. Components are building blocks, you are the architect.

Gravatar for undefined

Please configure Bit as a scoped registry to install components with NPM.Learn more

npm config set '@bit:registry'
Use compilers/preact in your project
npm i @bit/bit.envs.compilers.preact

Babel-based transpiling environment for Preact components

Bit build enviroment for transpiling Preact components using Bit.

How to use?

Import the environment.

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