This is an automated email from the ASF dual-hosted git repository.
jscheffl pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new 7fc4cafb13a Bugfix/bump vite to 8 in edge fix (#65387)
7fc4cafb13a is described below
commit 7fc4cafb13a942a50b99335363a379c694a147f5
Author: Jens Scheffler <[email protected]>
AuthorDate: Thu Apr 16 22:38:45 2026 +0200
Bugfix/bump vite to 8 in edge fix (#65387)
* Revert "Bump vite in Edge Provider to 8.0 (#65175)"
This reverts commit a8a6695ccdd1c421f3c0dcbca0d962648f784f9f.
* Fix Vite 8 upgrade make plugin working again
---
.../edge3/src/airflow/providers/edge3/plugins/www/vite.config.ts | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git
a/providers/edge3/src/airflow/providers/edge3/plugins/www/vite.config.ts
b/providers/edge3/src/airflow/providers/edge3/plugins/www/vite.config.ts
index 5f4a1f6563a..441adeaf31d 100644
--- a/providers/edge3/src/airflow/providers/edge3/plugins/www/vite.config.ts
+++ b/providers/edge3/src/airflow/providers/edge3/plugins/www/vite.config.ts
@@ -16,8 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
-import babel from "@rolldown/plugin-babel";
-import react, { reactCompilerPreset } from "@vitejs/plugin-react";
+import react from "@vitejs/plugin-react-swc";
import { resolve } from "node:path";
import cssInjectedByJsPlugin from "vite-plugin-css-injected-by-js";
import dts from "vite-plugin-dts";
@@ -62,9 +61,6 @@ export default defineConfig(({ command }) => {
},
plugins: [
react(),
- babel({
- presets: [reactCompilerPreset()],
- }),
cssInjectedByJsPlugin(),
...(isLibraryBuild
? [