@vitejs/plugin-react 5.1.3 → 5.2.0
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
|
@@ -356,7 +356,7 @@ function viteReactForCjs(options) {
|
|
|
356
356
|
}
|
|
357
357
|
Object.assign(viteReactForCjs, { default: viteReactForCjs });
|
|
358
358
|
function canSkipBabel(plugins, babelOptions) {
|
|
359
|
-
return !(plugins.length || babelOptions.presets.length || babelOptions.configFile || babelOptions.babelrc);
|
|
359
|
+
return !(plugins.length || babelOptions.presets.length || babelOptions.overrides.length || babelOptions.configFile || babelOptions.babelrc);
|
|
360
360
|
}
|
|
361
361
|
const loadedPlugin = /* @__PURE__ */ new Map();
|
|
362
362
|
function loadPlugin(path) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vitejs/plugin-react",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.2.0",
|
|
4
4
|
"description": "The default Vite plugin for React projects",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"babel",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"@babel/core": "^7.29.0",
|
|
45
45
|
"@babel/plugin-transform-react-jsx-self": "^7.27.1",
|
|
46
46
|
"@babel/plugin-transform-react-jsx-source": "^7.27.1",
|
|
47
|
-
"@rolldown/pluginutils": "1.0.0-rc.
|
|
47
|
+
"@rolldown/pluginutils": "1.0.0-rc.3",
|
|
48
48
|
"@types/babel__core": "^7.20.5",
|
|
49
49
|
"react-refresh": "^0.18.0"
|
|
50
50
|
},
|
|
@@ -53,11 +53,11 @@
|
|
|
53
53
|
"babel-plugin-react-compiler": "19.1.0-rc.3",
|
|
54
54
|
"react": "^19.2.4",
|
|
55
55
|
"react-dom": "^19.2.4",
|
|
56
|
-
"rolldown": "1.0.0-rc.
|
|
57
|
-
"tsdown": "^0.20.
|
|
56
|
+
"rolldown": "1.0.0-rc.3",
|
|
57
|
+
"tsdown": "^0.20.3"
|
|
58
58
|
},
|
|
59
59
|
"peerDependencies": {
|
|
60
|
-
"vite": "^4.2.0 || ^5.0.0 || ^6.0.0 || ^7.0.0"
|
|
60
|
+
"vite": "^4.2.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0"
|
|
61
61
|
},
|
|
62
62
|
"engines": {
|
|
63
63
|
"node": "^20.19.0 || >=22.12.0"
|