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

Method packageConfig

lib/broccoli/default-packager.js:1055–1075  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1053 * @method packageConfig
1054 */
1055 packageConfig() {
1056 let env = this.env;
1057 let name = this.name;
1058 let project = this.project;
1059 let configPath = this.project.configPath();
1060
1061 if (this._cachedConfig === null) {
1062 let configTree = new ConfigLoader(path.dirname(configPath), {
1063 env,
1064 tests: this.areTestsEnabled || false,
1065 project,
1066 });
1067
1068 this._cachedConfig = new Funnel(configTree, {
1069 destDir: `${name}/config`,
1070 annotation: 'Packaged Config',
1071 });
1072 }
1073
1074 return this._cachedConfig;
1075 }
1076
1077 /*
1078 * Concatenates all javascript Broccoli trees into one, as follows:

Callers 6

processIndexMethod · 0.95
processTestIndexMethod · 0.95
config-test.jsFile · 0.80

Calls 1

configPathMethod · 0.80

Tested by

no test coverage detected