diff --git a/packages/plugin-vue/src/index.ts b/packages/plugin-vue/src/index.ts index fa7d92cf..2e83d6d9 100644 --- a/packages/plugin-vue/src/index.ts +++ b/packages/plugin-vue/src/index.ts @@ -167,6 +167,7 @@ export default function vuePlugin(rawOptions: Options = {}): Plugin { __VUE_PROD_DEVTOOLS__: config.define?.__VUE_PROD_DEVTOOLS__ ?? false, }, ssr: { + // @ts-ignore -- config.legacy.buildSsrCjsExternalHeuristics will be removed in Vite 5 external: config.legacy?.buildSsrCjsExternalHeuristics ? ['vue', '@vue/server-renderer'] : [],