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

Commit 6cfde9b

Browse files
committed
Fix esbuild property in documentation [publish]
1 parent 8775186 commit 6cfde9b

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

CHANGELOG.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
# Changelog
22

3-
## 0.2.0
3+
## 2.0.1
4+
5+
Fix esbuild property in documentation.
6+
7+
## 2.0.0
48

59
Breaking: Use named export instead of default export for better esm/cjs interop.
610

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import { swcReactRefresh } from "vite-plugin-swc-react-refresh";
2222

2323
export default defineConfig({
2424
plugins: [swcReactRefresh()],
25-
esbuild: { runtime: "automatic" },
25+
esbuild: { jsx: "automatic" },
2626
});
2727
```
2828

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "vite-plugin-swc-react-refresh",
33
"description": "Use the versatility of swc for development and the maturity of esbuild for production",
4-
"version": "2.0.0",
4+
"version": "2.0.1",
55
"license": "MIT",
66
"author": "Arnaud Barré (https://github.com/ArnaudBarre)",
77
"main": "src/swc-react-refresh.js",

0 commit comments

Comments
 (0)