Skip to content

Commit

Permalink
fix(vue): remove ssr.external config (#9128)
Browse files Browse the repository at this point in the history
  • Loading branch information
sapphi-red committed Jul 15, 2022
1 parent 26510c9 commit 3f80108
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/plugin-vue/src/index.ts
Expand Up @@ -133,7 +133,9 @@ export default function vuePlugin(rawOptions: Options = {}): Plugin {
__VUE_PROD_DEVTOOLS__: config.define?.__VUE_PROD_DEVTOOLS__ ?? false
},
ssr: {
external: ['vue', '@vue/server-renderer']
external: config.legacy?.buildSsrCjsExternalHeuristics
? ['vue', '@vue/server-renderer']
: []
}
}
},
Expand Down

0 comments on commit 3f80108

Please sign in to comment.