(builder)
| 134 | |
| 135 | builder: { |
| 136 | async buildApp(builder) { |
| 137 | // Build client env first |
| 138 | const clientEnv = builder.environments.client; |
| 139 | if (clientEnv !== undefined) { |
| 140 | await builder.build(clientEnv); |
| 141 | } |
| 142 | |
| 143 | await Promise.all( |
| 144 | Object.values(builder.environments).filter((env) => |
| 145 | env !== clientEnv |
| 146 | ).map((env) => builder.build(env)), |
| 147 | ); |
| 148 | }, |
| 149 | }, |
| 150 | environments: { |
| 151 | client: { |