Skip to content

Commit

Permalink
fix(plugin-vue): don't use object spread in the config hook (#5155)
Browse files Browse the repository at this point in the history
  • Loading branch information
sodatea committed Sep 30, 2021
1 parent 5cf4e69 commit c1ce471
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 c1ce471

Please sign in to comment.