fix(vite): include module symbols in generated code (#28509)

This commit is contained in:
Daniel Roe 2024-08-12 22:15:05 +01:00 committed by GitHub
parent fefe4e5c8d
commit 0dd659066c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -85,6 +85,7 @@ export async function buildServer (ctx: ViteBuildContext) {
entryFileNames: '[name].mjs', entryFileNames: '[name].mjs',
format: 'module', format: 'module',
generatedCode: { generatedCode: {
symbols: true, // temporary fix for https://github.com/vuejs/core/issues/8351,
constBindings: true, constBindings: true,
}, },
}, },