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

bit
Contributors
Gravatar for undefined
1

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

npm config set '@bit:registry' https://node.bitsrc.io
Use compilers/preact in your project
npm i @bit/bit.envs.compilers.preact
Copied

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.