Skip to content

Commit

Permalink
Update: Remove emotion from React configs ⚙️
Browse files Browse the repository at this point in the history
  • Loading branch information
DHedgecock committed Apr 18, 2020
1 parent 56d9fad commit f0d7995
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
3 changes: 0 additions & 3 deletions src/__snapshots__/index.spec.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@ Object {
"useBuiltIns": true,
},
],
"@emotion/babel-preset-css-prop",
"@babel/preset-typescript",
],
}
Expand Down Expand Up @@ -132,7 +131,6 @@ Object {
"useBuiltIns": true,
},
],
"@emotion/babel-preset-css-prop",
"@babel/preset-typescript",
],
}
Expand Down Expand Up @@ -184,7 +182,6 @@ Object {
"useBuiltIns": true,
},
],
"@emotion/babel-preset-css-prop",
"@babel/preset-typescript",
],
}
Expand Down
5 changes: 0 additions & 5 deletions src/react.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,11 +71,6 @@ export default function reactConfigs(env) {
// references to source and self on each component
['@babel/preset-react', { development: env('development'), useBuiltIns: true }],

// Includes the `babel-plugin-emotion` and configures the transform-react-jsx
// plugin to replace `React.createElement` with calls to Emotion's `jsx` to
// enable Emotion's CSS in JS
'@emotion/babel-preset-css-prop',

// Enable TypeScript usage 🔐
'@babel/preset-typescript',
],
Expand Down

0 comments on commit f0d7995

Please sign in to comment.