The order goes like this, as this list increases, the later override the earlier Order inspired by https://www.npmjs.com/package/rc#standards
- Each property has a default
userConfig
from.boltrc.js
that's in same cwd as wherebolt
was ran, unless they use--config-file path/to/.boltrc.js
- Env Vars with
bolt_
prefix;bolt_verbosity=1
will overrideconfig.verbosity
- case matters! - Certain command line options like
bolt build --verbosity 5
- not every config option is overridable this way. Runbolt --help
orbolt build --help
to see options.
For both 3 & 4, it doesn't support deep merges, so only top level properties.