-
Notifications
You must be signed in to change notification settings - Fork 188
Open
Labels
Description
Description of the bug
Vaadin 25.0 pre rebuilds the frontend bundle if a @Theme is used, which is expected as Lumo and theme utils are not included by default (no theme by default). However, it also mentions that some essential component's JS modules are missing:
2025-11-13T08:37:40.491+02:00 INFO 10208 --- [ restartedMain] c.v.f.s.frontend.BundleValidationUtil : Checking if a development mode bundle build is needed
2025-11-13T08:37:40.585+02:00 INFO 10208 --- [ restartedMain] c.v.f.s.frontend.BundleValidationUtil : Frontend import Frontend/generated/jar-resources/flow-component-directive.js is missing from the bundle
2025-11-13T08:37:40.585+02:00 INFO 10208 --- [ restartedMain] c.v.f.s.frontend.BundleValidationUtil : Frontend import Frontend/generated/jar-resources/vaadin-time-picker/helpers.js is missing from the bundle
2025-11-13T08:37:40.585+02:00 INFO 10208 --- [ restartedMain] c.v.f.s.frontend.BundleValidationUtil : Frontend import Frontend/generated/jar-resources/vaadin-map/synchronization/index.js is missing from the bundle
2025-11-13T08:37:40.585+02:00 INFO 10208 --- [ restartedMain] c.v.f.s.frontend.BundleValidationUtil : Frontend import Frontend/generated/jar-resources/vaadin-spreadsheet/spreadsheet-export.js is missing from the bundle
2025-11-13T08:37:40.585+02:00 INFO 10208 --- [ restartedMain] c.v.f.s.frontend.BundleValidationUtil : Frontend import Frontend/generated/jar-resources/vaadin-spreadsheet/vaadin-spreadsheet-styles.js is missing from the bundle
2025-11-13T08:37:40.585+02:00 INFO 10208 --- [ restartedMain] c.v.f.s.frontend.BundleValidationUtil : Frontend import Frontend/generated/jar-resources/theme-util.js is missing from the bundle
2025-11-13T08:37:40.585+02:00 INFO 10208 --- [ restartedMain] c.v.f.s.frontend.BundleValidationUtil : Frontend import @vaadin/vaadin-lumo-styles/lumo.css is missing from the bundle
2025-11-13T08:37:40.586+02:00 INFO 10208 --- [ restartedMain] c.v.f.s.frontend.BundleValidationUtil : A development mode bundle build is needed
Same behavior for dev and prod bundles.
Expected behavior
Pre-compiled bundles should contain everything needed for components, only Lumo theme and related modules should not be included.
Minimal reproducible example
Download this project and start with mvn:
pre-java.zip
Versions
- Vaadin / Flow version: 25.0.0-beta4
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
🔎 Investigation
Status
🪵Product backlog