MCPcopy Index your code
hub / github.com/ember-cli/ember-cli / config

Function config

lib/models/addon.js:1325–1333  ·  view source on GitHub ↗

Augments the application's configuration settings. Object returned from this hook is merged with the application's configuration object. Application's configuration always take precedence. #### Uses: - Modifying configuration options (see list of defaults [here](https://github.co

(env, baseConfig)

Source from the content-addressed store, hash-verified

1323 ```
1324 */
1325 config(env, baseConfig) {
1326 let configPath = path.join(this.root, 'config', 'environment.js');
1327
1328 if (fs.existsSync(configPath)) {
1329 const configGenerator = require(configPath);
1330
1331 return configGenerator(env, baseConfig);
1332 }
1333 },
1334
1335 /**
1336 @public

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…