Fix build prod : Pinia CJS default import crash Node 22+

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:
YvvandClaude Opus 4.6 committed 2026-02-27 20:36:37 +01:00
1 parent 1f47533c77
commit b02368a15b
3 files changed
+37 -1

No files matched your search

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