Skip to content

Commit 5f67953

Browse files
committed
fix: remove enableObjectSlots vueComponent#3998
1 parent bec35d0 commit 5f67953

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

antd-tools/getBabelCommonConfig.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ module.exports = function(modules) {
88
isTSX: true,
99
},
1010
],
11-
[resolve('@vue/babel-plugin-jsx'), { mergeProps: false, enableObjectSlots: false }],
11+
[resolve('@vue/babel-plugin-jsx'), { mergeProps: false }],
1212
resolve('@babel/plugin-proposal-optional-chaining'),
1313
resolve('@babel/plugin-transform-object-assign'),
1414
resolve('@babel/plugin-proposal-object-rest-spread'),

antd-tools/getWebpackConfig.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ function getWebpackConfig(modules) {
9797
plugins: [
9898
[
9999
resolve('@vue/babel-plugin-jsx'),
100-
{ mergeProps: false, enableObjectSlots: false },
100+
{ mergeProps: false },
101101
],
102102
resolve('@babel/plugin-proposal-object-rest-spread'),
103103
],

0 commit comments

Comments
 (0)