import Button from '@bit/grommet.grommet.button'; import Lodash from 'lodash';
Babel-based transpiling environment for Preact components
Bit build environment for transpiling Preact components using Bit.
How to use?
Import the environment.
bit import bit.envs/compilers/preact -c
Then build using bit build.
- In order to see which babel presets and plugins are used, take a look at the
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.