@vitejs/plugin-react-swc 3.9.0-beta.3 → 3.9.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.
Files changed (3) hide show
  1. package/index.cjs +2 -0
  2. package/index.mjs +2 -0
  3. package/package.json +1 -1
package/index.cjs CHANGED
@@ -144,6 +144,8 @@ var react = (_options) => {
144
144
  apply: "serve",
145
145
  config: () => ({
146
146
  esbuild: false,
147
+ // NOTE: oxc option only exists in rolldown-vite
148
+ oxc: false,
147
149
  optimizeDeps: {
148
150
  include: [`${options.jsxImportSource}/jsx-dev-runtime`],
149
151
  esbuildOptions: { jsx: "automatic" }
package/index.mjs CHANGED
@@ -145,6 +145,8 @@ var react = (_options) => {
145
145
  apply: "serve",
146
146
  config: () => ({
147
147
  esbuild: false,
148
+ // NOTE: oxc option only exists in rolldown-vite
149
+ oxc: false,
148
150
  optimizeDeps: {
149
151
  include: [`${options.jsxImportSource}/jsx-dev-runtime`],
150
152
  esbuildOptions: { jsx: "automatic" }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vitejs/plugin-react-swc",
3
- "version": "3.9.0-beta.3",
3
+ "version": "3.9.0",
4
4
  "license": "MIT",
5
5
  "author": "Arnaud Barré (https://github.com/ArnaudBarre)",
6
6
  "description": "Speed up your Vite dev server with SWC",