@vitejs/plugin-react 5.1.0 → 5.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -1
- package/package.json +5 -5
package/dist/index.js
CHANGED
|
@@ -128,7 +128,7 @@ function viteReact(opts = {}) {
|
|
|
128
128
|
jsxRefreshInclude: makeIdFiltersToMatchWithQuery(include),
|
|
129
129
|
jsxRefreshExclude: makeIdFiltersToMatchWithQuery(exclude)
|
|
130
130
|
},
|
|
131
|
-
optimizeDeps: {
|
|
131
|
+
optimizeDeps: { rolldownOptions: { transform: { jsx: { runtime: "automatic" } } } }
|
|
132
132
|
};
|
|
133
133
|
if (opts.jsxRuntime === "classic") return { esbuild: { jsx: "transform" } };
|
|
134
134
|
else return {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vitejs/plugin-react",
|
|
3
|
-
"version": "5.1.
|
|
3
|
+
"version": "5.1.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"author": "Evan You",
|
|
6
6
|
"description": "The default Vite plugin for React projects",
|
|
@@ -44,10 +44,10 @@
|
|
|
44
44
|
},
|
|
45
45
|
"homepage": "https://github.com/vitejs/vite-plugin-react/tree/main/packages/plugin-react#readme",
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@babel/core": "^7.28.
|
|
47
|
+
"@babel/core": "^7.28.5",
|
|
48
48
|
"@babel/plugin-transform-react-jsx-self": "^7.27.1",
|
|
49
49
|
"@babel/plugin-transform-react-jsx-source": "^7.27.1",
|
|
50
|
-
"@rolldown/pluginutils": "1.0.0-beta.
|
|
50
|
+
"@rolldown/pluginutils": "1.0.0-beta.47",
|
|
51
51
|
"@types/babel__core": "^7.20.5",
|
|
52
52
|
"react-refresh": "^0.18.0"
|
|
53
53
|
},
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
"babel-plugin-react-compiler": "19.1.0-rc.3",
|
|
60
60
|
"react": "^19.2.0",
|
|
61
61
|
"react-dom": "^19.2.0",
|
|
62
|
-
"rolldown": "1.0.0-beta.
|
|
63
|
-
"tsdown": "^0.
|
|
62
|
+
"rolldown": "1.0.0-beta.47",
|
|
63
|
+
"tsdown": "^0.16.1"
|
|
64
64
|
}
|
|
65
65
|
}
|