Skip to content
This repository was archived by the owner on Jul 24, 2025. It is now read-only.

Commit 9f6879e

Browse files
committed
Fix CHANGELOG.md
1 parent 6cfde9b commit 9f6879e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ To migrate, replace your import by `import { swcReactRefresh } from "vite-plugin
1212

1313
The JSX automatic runtime is also now supported if you bump esbuild to at least [0.14.51](https://github.com/evanw/esbuild/releases/tag/v0.14.51).
1414

15-
To use it, update your config from `esbuild: { jsxInject: 'import React from "react"' },` to `esbuild: { runtime: "automatic" },`
15+
To use it, update your config from `esbuild: { jsxInject: 'import React from "react"' },` to `esbuild: { jsx: "automatic" },`
1616

1717
## 0.1.2
1818

0 commit comments

Comments
 (0)