From 99ea00d15cbebe3ce328b79f28722035551e7440 Mon Sep 17 00:00:00 2001 From: Vaadin Bot Date: Mon, 30 Mar 2026 13:44:11 +0000 Subject: [PATCH 1/3] Update flow to 25.2.0-alpha2 --- versions.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/versions.json b/versions.json index f53d441a4..096b64eca 100644 --- a/versions.json +++ b/versions.json @@ -119,7 +119,7 @@ "npmName": "@vaadin/field-highlighter" }, "flow": { - "javaVersion": "25.2-SNAPSHOT" + "javaVersion": "25.2.0-alpha2" }, "flow-cdi": { "javaVersion": "16.0.0" From 6f01c2d2208c38615f160956181b59c1221303f5 Mon Sep 17 00:00:00 2001 From: Zhe Sun Date: Tue, 7 Apr 2026 11:47:27 +0300 Subject: [PATCH 2/3] chore: test hilla snapshot --- versions.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/versions.json b/versions.json index bdaaceb5f..2766cfac9 100644 --- a/versions.json +++ b/versions.json @@ -138,7 +138,7 @@ "npmName": "@vaadin/grid" }, "hilla": { - "javaVersion": "25.2.0-alpha1" + "javaVersion": "25.2-SNAPSHOT" }, "horizontal-layout": { "jsVersion": "25.2.0-alpha6", From 5f0fa981c600f7c68540a54a96f30537a38cf053 Mon Sep 17 00:00:00 2001 From: Zhe Sun Date: Tue, 7 Apr 2026 12:24:03 +0300 Subject: [PATCH 3/3] test with customized vite.config.ts --- .../vite.config.ts | 21 +++++++++++++++++++ .../vite.config.ts | 21 +++++++++++++++++++ 2 files changed, 42 insertions(+) create mode 100644 vaadin-platform-react-hybrid-security-test/vite.config.ts create mode 100644 vaadin-platform-react-hybrid-test/vite.config.ts diff --git a/vaadin-platform-react-hybrid-security-test/vite.config.ts b/vaadin-platform-react-hybrid-security-test/vite.config.ts new file mode 100644 index 000000000..3aa15ccf3 --- /dev/null +++ b/vaadin-platform-react-hybrid-security-test/vite.config.ts @@ -0,0 +1,21 @@ +import { UserConfigFn } from 'vite'; +import { overrideVaadinConfig } from './vite.generated'; + +const customConfig: UserConfigFn = (env) => ({ + build: { + rolldownOptions: { + output: { + // Work around a Rolldown bug where minified identifier names in a + // dynamic-import chunk collide with cross-chunk runtime bindings, + // causing "TypeError: t is not a function" at runtime. + manualChunks(id: string) { + if (id.includes('/markdown/src/markdown-helpers')) { + return 'indexhtml'; + } + }, + }, + }, + }, +}); + +export default overrideVaadinConfig(customConfig); \ No newline at end of file diff --git a/vaadin-platform-react-hybrid-test/vite.config.ts b/vaadin-platform-react-hybrid-test/vite.config.ts new file mode 100644 index 000000000..3aa15ccf3 --- /dev/null +++ b/vaadin-platform-react-hybrid-test/vite.config.ts @@ -0,0 +1,21 @@ +import { UserConfigFn } from 'vite'; +import { overrideVaadinConfig } from './vite.generated'; + +const customConfig: UserConfigFn = (env) => ({ + build: { + rolldownOptions: { + output: { + // Work around a Rolldown bug where minified identifier names in a + // dynamic-import chunk collide with cross-chunk runtime bindings, + // causing "TypeError: t is not a function" at runtime. + manualChunks(id: string) { + if (id.includes('/markdown/src/markdown-helpers')) { + return 'indexhtml'; + } + }, + }, + }, + }, +}); + +export default overrideVaadinConfig(customConfig); \ No newline at end of file