A driver is a pluggable interface for an individual development or build tool. It provides a custom implementation for interoperability with the primary Beemo process.
Each driver is designed and built differently, as is their configuration patterns. To work around this, multiple strategies are in play when generating a config file at the root.
Created config - The config file is dynamically generated from the configuration module's
source config file. Typically written with
Referenced config - The config file references the configuration module's source config file
require(). Typically required for complex files (contains class instances, etc), like
Webpack. Note: When referencing, the
process.beemo variable is not available.
Copied config - The config file is copied as is from the configuration module's source config
Native config - Uses the configuration strategy defined for the driver.
No config - Does nothing. Requires the consumer to create a local config file.
The default strategies for each tool are as follows:
Default strategies can be overwritten with a driver's
strategyoption, which accepts
Will be available after release!