(rootDir: string, webDir: string)
| 309 | } |
| 310 | |
| 311 | async function loadWebConfig(rootDir: string, webDir: string): Promise<WebConfig> { |
| 312 | const platformDir = webDir; |
| 313 | const platformDirAbs = resolve(rootDir, platformDir); |
| 314 | |
| 315 | return { |
| 316 | name: 'web', |
| 317 | platformDir, |
| 318 | platformDirAbs, |
| 319 | }; |
| 320 | } |
| 321 | |
| 322 | function determineOS(os: NodeJS.Platform): OS { |
| 323 | switch (os) { |