diff --git a/packages/plugin-vue/src/index.ts b/packages/plugin-vue/src/index.ts index 31dc332e..626f0c6d 100644 --- a/packages/plugin-vue/src/index.ts +++ b/packages/plugin-vue/src/index.ts @@ -72,11 +72,14 @@ export default function vuePlugin(rawOptions: Options = {}): Plugin { return handleHotUpdate(ctx) }, - config(config) { + config() { return { define: { __VUE_OPTIONS_API__: true, __VUE_PROD_DEVTOOLS__: false + }, + ssr: { + external: ['vue', '@vue/server-renderer'] } } },