Skip to content

Commit 04c3b0b

Browse files
authored
chore: add @ts-ignore when accessing legacy?.buildSsrCjsExternalHeuristics (#255)
1 parent 69fb8c8 commit 04c3b0b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/plugin-vue/src/index.ts

+1
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,7 @@ export default function vuePlugin(rawOptions: Options = {}): Plugin {
167167
__VUE_PROD_DEVTOOLS__: config.define?.__VUE_PROD_DEVTOOLS__ ?? false,
168168
},
169169
ssr: {
170+
// @ts-ignore -- config.legacy.buildSsrCjsExternalHeuristics will be removed in Vite 5
170171
external: config.legacy?.buildSsrCjsExternalHeuristics
171172
? ['vue', '@vue/server-renderer']
172173
: [],

0 commit comments

Comments
 (0)