Skip to content

Pre-compiled bundles miss few essential modules #22725

@mshabarov

Description

@mshabarov

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

No one assigned

    Type

    No type

    Projects

    Status

    🔎 Investigation

    Status

    🪵Product backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions