Skip to content

Commit

Permalink
fix: remove enableObjectSlots vueComponent#3998
Browse files Browse the repository at this point in the history
  • Loading branch information
zkwolf committed Apr 29, 2021
1 parent bec35d0 commit 5f67953
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion antd-tools/getBabelCommonConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ module.exports = function(modules) {
isTSX: true,
},
],
[resolve('@vue/babel-plugin-jsx'), { mergeProps: false, enableObjectSlots: false }],
[resolve('@vue/babel-plugin-jsx'), { mergeProps: false }],
resolve('@babel/plugin-proposal-optional-chaining'),
resolve('@babel/plugin-transform-object-assign'),
resolve('@babel/plugin-proposal-object-rest-spread'),
Expand Down
2 changes: 1 addition & 1 deletion antd-tools/getWebpackConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ function getWebpackConfig(modules) {
plugins: [
[
resolve('@vue/babel-plugin-jsx'),
{ mergeProps: false, enableObjectSlots: false },
{ mergeProps: false },
],
resolve('@babel/plugin-proposal-object-rest-spread'),
],
Expand Down

0 comments on commit 5f67953

Please sign in to comment.