Skip to content
This repository has been archived by the owner on Mar 26, 2024. It is now read-only.

Commit

Permalink
fix(extractor): update preset-react to runtime automatic (#281)
Browse files Browse the repository at this point in the history
Co-authored-by: Rico Kahler <[email protected]>
  • Loading branch information
ricokahler and Rico Kahler authored Jan 21, 2023
1 parent 9754493 commit c24b6c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/extractor/src/default-babel-options.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export const defaultBabelOptions = {
presets: [
['@babel/preset-env', { targets: { node: true } }],
'@babel/preset-typescript',
'@babel/preset-react',
['@babel/preset-react', { runtime: 'automatic' }],
],
// overrides `node_modules` ignoring
// https://babeljs.io/docs/en/babel-register#ignores-node_modules-by-default
Expand Down

1 comment on commit c24b6c2

@vercel
Copy link

@vercel vercel bot commented on c24b6c2 Jan 21, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.