Skip to content

Commit

Permalink
fix(plugin-vue): don't use object spread in the config hook (vitejs#5155
Browse files Browse the repository at this point in the history
)
  • Loading branch information
sodatea authored and aleclarson committed Nov 8, 2021
1 parent 1ed3a0c commit 0f4b785
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/plugin-vue/src/index.ts
Expand Up @@ -118,8 +118,7 @@ export default function vuePlugin(rawOptions: Options = {}): Plugin {
return {
define: {
__VUE_OPTIONS_API__: true,
__VUE_PROD_DEVTOOLS__: false,
...config.define
__VUE_PROD_DEVTOOLS__: false
},
ssr: {
external: ['vue', '@vue/server-renderer']
Expand Down

0 comments on commit 0f4b785

Please sign in to comment.