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
haoqunjiang authored Sep 30, 2021
1 parent 6a612f5 commit c88768b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/plugin-vue/src/index.ts
Original file line number Diff line number Diff line change
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 c88768b

Please sign in to comment.