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 diff --git a/versions.json b/versions.json index 7d0dfcc82..2766cfac9 100644 --- a/versions.json +++ b/versions.json @@ -119,7 +119,7 @@ "npmName": "@vaadin/field-highlighter" }, "flow": { - "javaVersion": "25.2.0-alpha1" + "javaVersion": "25.2.0-alpha2" }, "flow-cdi": { "javaVersion": "16.0.0" @@ -138,7 +138,7 @@ "npmName": "@vaadin/grid" }, "hilla": { - "javaVersion": "25.2.0-alpha1" + "javaVersion": "25.2-SNAPSHOT" }, "horizontal-layout": { "jsVersion": "25.2.0-alpha6",