@konomi-app/k2 1.4.7 → 1.4.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/commands/build.js +9 -1
- package/package.json +1 -1
package/dist/commands/build.js
CHANGED
|
@@ -31,7 +31,15 @@ export async function action(options) {
|
|
|
31
31
|
}, {});
|
|
32
32
|
const k2Config = config ? await importK2Config(config) : getDefaultK2Config();
|
|
33
33
|
const fullConfig = { ...k2Config, outDir };
|
|
34
|
-
await Promise.allSettled([
|
|
34
|
+
const results = await Promise.allSettled([
|
|
35
|
+
base({ entries, outDir }),
|
|
36
|
+
buildTailwind(fullConfig),
|
|
37
|
+
]);
|
|
38
|
+
for (const result of results) {
|
|
39
|
+
if (result.status === 'rejected') {
|
|
40
|
+
throw result.reason;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
35
43
|
console.log('✨ Build success.');
|
|
36
44
|
}
|
|
37
45
|
catch (error) {
|