mirror of
https://github.com/embarklabs/embark.git
synced 2025-01-11 22:34:24 +00:00
completly disable opted-out components
This commit is contained in:
parent
bab0171120
commit
02e407f90b
@ -65,7 +65,9 @@ Config.prototype.reloadConfig = function() {
|
||||
|
||||
Config.prototype._mergeConfig = function(configFilePath, defaultConfig, env) {
|
||||
if (!configFilePath) {
|
||||
return defaultConfig['default'] || {};
|
||||
let configToReturn = defaultConfig['default'] || {}
|
||||
configToReturn.enabled = false;
|
||||
return configToReturn;
|
||||
}
|
||||
|
||||
if (!fs.existsSync(configFilePath)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user