* @private * @method configWithoutCache * @param {String} env Environment name * @return {Object} Merged configuration object
(env)
| 247 | * @return {Object} Merged configuration object |
| 248 | */ |
| 249 | configWithoutCache(env) { |
| 250 | let configPath = this.configPath(); |
| 251 | |
| 252 | if (fs.existsSync(`${configPath}.js`)) { |
| 253 | let appConfig = this.require(configPath)(env); |
| 254 | let addonsConfig = this.getAddonsConfig(env, appConfig); |
| 255 | |
| 256 | return merge(addonsConfig, appConfig); |
| 257 | } else { |
| 258 | return this.getAddonsConfig(env, {}); |
| 259 | } |
| 260 | } |
| 261 | |
| 262 | /** |
| 263 | Returns the targets of this project, or the default targets if not present. |
no test coverage detected