import Button from '@bit/grommet.grommet.button'; import Lodash from 'lodash';
What is bundled?
The bundler bundles the component’s main file and test files. In case there are component files that are not in those files’ dependency trees, they won’t be bundled. Note that this is in accordance with webpack’s usual behavior, but not in accordance with the usual behavior of Bit compilers, which usually compile all the files.
How to use?
Import the environment.
bit import bit.envs/bundlers/webpack -c
Then build using bit build.