()
| 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: |
no test coverage detected