File tree Expand file tree Collapse file tree 3 files changed +8
-4
lines changed Expand file tree Collapse file tree 3 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 1
1
# Changelog
2
2
3
+ ## 3.0.0-beta.1
4
+
5
+ Fix package.json exports fields
6
+
3
7
## 3.0.0-beta.0
4
8
5
9
This is the first beta version of the official plugin for using [ SWC] ( https://swc.rs/ ) with React in Vite!
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @vitejs/plugin-react-swc" ,
3
- "version" : " 3.0.0-beta.0 " ,
3
+ "version" : " 3.0.0-beta.1 " ,
4
4
"license" : " MIT" ,
5
5
"scripts" : {
6
6
"dev" : " scripts/bundle.ts --dev" ,
Original file line number Diff line number Diff line change @@ -60,9 +60,9 @@ export default react;
60
60
module : "index.mjs" ,
61
61
exports : {
62
62
"." : {
63
- require : "index.cjs" ,
64
- types : "index.d.ts" ,
65
- import : "index.mjs" ,
63
+ require : "./ index.cjs" ,
64
+ types : "./ index.d.ts" ,
65
+ import : "./ index.mjs" ,
66
66
} ,
67
67
} ,
68
68
keywords : [
You can’t perform that action at this time.
0 commit comments