Babel driver
Provides Babel support by dynamically generating a
babel.config.js
config file.
#
Requirements- Babel ^7.0.0
#
InstallationIn your configuration module, install the driver, Babel, and any plugins or presets.
- Yarn
- NPM
Create a file at configs/babel.ts
(or js
) in which to house your Babel configuration.
configs/babel.ts
Configuration files that return a function, and expect a Babel
api
instance, are currently not supported, as they conflict with Beemo's configuration functions.
#
IntegrationIn your consuming project, enable the driver by adding babel
to your drivers
config.
.config/beemo.ts