When opts.filename is defined, search up the chain of parent directories for a nebu.config.js module. If the module exports an array, use it for opts.plugins. Otherwise, an object should be exported, which is merged into opts.
The opts properties passed to nebu.process take precedence over any defined in nebu.config.js. But the plugins arrays are concatenated if opts.plugins is defined and nebu.config.js exports an array of plugins (or an object with a plugins property). During concatenation, we should take care to remove any duplicate plugins.
You can disable this feature with opts.dotconfig = false.
When
opts.filenameis defined, search up the chain of parent directories for anebu.config.jsmodule. If the module exports an array, use it foropts.plugins. Otherwise, an object should be exported, which is merged intoopts.The
optsproperties passed tonebu.processtake precedence over any defined innebu.config.js. But thepluginsarrays are concatenated ifopts.pluginsis defined andnebu.config.jsexports an array of plugins (or an object with apluginsproperty). During concatenation, we should take care to remove any duplicate plugins.You can disable this feature with
opts.dotconfig = false.