We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7166cd4 commit c49b627Copy full SHA for c49b627
1 file changed
src/webpack.js
@@ -27,7 +27,10 @@ function svgrLoader(source) {
27
'@babel/preset-react',
28
['@babel/preset-env', { modules: false }],
29
],
30
- plugins: ['@babel/plugin-transform-react-constant-elements'],
+ plugins: [
31
+ '@babel/plugin-transform-react-constant-elements',
32
+ '@babel/plugin-proposal-object-rest-spread',
33
+ ],
34
},
35
(err, result) => {
36
if (err) reject(err)
0 commit comments