Skip to content

Commit

Permalink
runfix: order of babel presets to support react fragments (#4818)
Browse files Browse the repository at this point in the history
  • Loading branch information
PatrykBuniX committed Jun 25, 2024
1 parent 1f2f4d8 commit df94b95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion babel.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ module.exports = {
},
plugins: ['@babel/plugin-proposal-class-properties', '@babel/plugin-syntax-dynamic-import'],
presets: [
['@babel/preset-react', {runtime: 'automatic'}],
'@emotion/babel-preset-css-prop',
['@babel/preset-react', {importSource: '@emotion/react', runtime: 'automatic'}],
'@babel/preset-typescript',
[
'@babel/preset-env',
Expand Down

0 comments on commit df94b95

Please sign in to comment.