Skip to content

Commit

Permalink
chore: add @ts-ignore when accessing `legacy?.buildSsrCjsExternalHe…
Browse files Browse the repository at this point in the history
…uristics` (#255)
  • Loading branch information
sapphi-red authored Sep 15, 2023
1 parent 69fb8c8 commit 04c3b0b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/plugin-vue/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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']
: [],
Expand Down

0 comments on commit 04c3b0b

Please sign in to comment.