diff --git a/scripts/generateLayouts.ts b/scripts/generateLayouts.ts index 9ff255a4d..04b79dcde 100644 --- a/scripts/generateLayouts.ts +++ b/scripts/generateLayouts.ts @@ -527,7 +527,9 @@ class GenerateLayouts extends Script { (config) => (theme !== undefined && config.id === theme) || !blacklist.has(config.id) ) - await Promise.all(configsFiltered.map((config) => this.createThemeFor(config))) + for (const config of configsFiltered) { + await this.createThemeFor(config) + } const { manifest } = await this.createManifest( new ThemeConfig({