Fix build prod : Pinia CJS default import crash Node 22+
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

Pinia résout vers pinia.prod.cjs en production, Rollup convertit
require('vue') en default import ESM invalide. Script post-build
remplace par un namespace import (* as).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Yvv
2026-02-27 20:36:37 +01:00
parent 1f47533c77
commit b02368a15b
3 changed files with 37 additions and 1 deletions

View File

@@ -44,4 +44,5 @@ export default defineNuxtConfig({
siteUrl: 'https://librodrome.org',
},
},
})