From 8832b634d4ce722eeab3d2296567e05842bbb656 Mon Sep 17 00:00:00 2001 From: Vordgi Date: Wed, 3 Jun 2026 20:53:08 +0100 Subject: [PATCH] chore: print more lunaria generation logs --- modules/lunaria.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/modules/lunaria.ts b/modules/lunaria.ts index a7a58369a7..d6c5b6edaa 100644 --- a/modules/lunaria.ts +++ b/modules/lunaria.ts @@ -31,13 +31,16 @@ export default defineNuxtModule({ try { execSync('node --experimental-transform-types ./lunaria/lunaria.ts', { cwd: nuxt.options.rootDir, + stdio: 'inherit', }) } catch (e) { // Always throw in local dev. // In CI, only throw if building for production. const { env } = await getEnv(!isCI) - if (env === 'dev' || env === 'release') { + if (env === 'dev' || env === 'release' || env === 'canary') { throw e + } else { + console.error(e) } } })