We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
@ts-ignore
legacy?.buildSsrCjsExternalHeuristics
1 parent 69fb8c8 commit 04c3b0bCopy full SHA for 04c3b0b
packages/plugin-vue/src/index.ts
@@ -167,6 +167,7 @@ export default function vuePlugin(rawOptions: Options = {}): Plugin {
167
__VUE_PROD_DEVTOOLS__: config.define?.__VUE_PROD_DEVTOOLS__ ?? false,
168
},
169
ssr: {
170
+ // @ts-ignore -- config.legacy.buildSsrCjsExternalHeuristics will be removed in Vite 5
171
external: config.legacy?.buildSsrCjsExternalHeuristics
172
? ['vue', '@vue/server-renderer']
173
: [],
0 commit comments