@vitejs/plugin-react 4.3.3 → 4.3.4
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.cjs +2 -0
- package/dist/index.mjs +2 -0
- package/package.json +5 -5
package/dist/index.cjs
CHANGED
@@ -207,6 +207,8 @@ function viteReact(opts = {}) {
|
|
207
207
|
},
|
208
208
|
generatorOpts: {
|
209
209
|
...babelOptions.generatorOpts,
|
210
|
+
// import attributes parsing available without plugin since 7.26
|
211
|
+
importAttributesKeyword: "with",
|
210
212
|
decoratorsBeforeExport: true
|
211
213
|
},
|
212
214
|
plugins,
|
package/dist/index.mjs
CHANGED
@@ -199,6 +199,8 @@ function viteReact(opts = {}) {
|
|
199
199
|
},
|
200
200
|
generatorOpts: {
|
201
201
|
...babelOptions.generatorOpts,
|
202
|
+
// import attributes parsing available without plugin since 7.26
|
203
|
+
importAttributesKeyword: "with",
|
202
204
|
decoratorsBeforeExport: true
|
203
205
|
},
|
204
206
|
plugins,
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@vitejs/plugin-react",
|
3
|
-
"version": "4.3.
|
3
|
+
"version": "4.3.4",
|
4
4
|
"license": "MIT",
|
5
5
|
"author": "Evan You",
|
6
6
|
"contributors": [
|
@@ -38,14 +38,14 @@
|
|
38
38
|
},
|
39
39
|
"homepage": "https://github.com/vitejs/vite-plugin-react/tree/main/packages/plugin-react#readme",
|
40
40
|
"dependencies": {
|
41
|
-
"@babel/core": "^7.
|
42
|
-
"@babel/plugin-transform-react-jsx-self": "^7.
|
43
|
-
"@babel/plugin-transform-react-jsx-source": "^7.
|
41
|
+
"@babel/core": "^7.26.0",
|
42
|
+
"@babel/plugin-transform-react-jsx-self": "^7.25.9",
|
43
|
+
"@babel/plugin-transform-react-jsx-source": "^7.25.9",
|
44
44
|
"@types/babel__core": "^7.20.5",
|
45
45
|
"react-refresh": "^0.14.2"
|
46
46
|
},
|
47
47
|
"peerDependencies": {
|
48
|
-
"vite": "^4.2.0 || ^5.0.0"
|
48
|
+
"vite": "^4.2.0 || ^5.0.0 || ^6.0.0"
|
49
49
|
},
|
50
50
|
"devDependencies": {
|
51
51
|
"unbuild": "^2.0.0"
|