-
Notifications
You must be signed in to change notification settings - Fork 169
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
@Layout components are not included in the production bundle #20074
Comments
caalador
added a commit
that referenced
this issue
Sep 27, 2024
Layout annotated classes should be collected as entrypoints for production builds. Fixes #20074
caalador
added a commit
that referenced
this issue
Sep 27, 2024
Layout annotated classes should be collected as entrypoints for production builds. Fixes #20074
mshabarov
pushed a commit
that referenced
this issue
Sep 27, 2024
Layout annotated classes should be collected as entrypoints for production builds. Fixes #20074
vaadin-bot
pushed a commit
that referenced
this issue
Sep 27, 2024
Layout annotated classes should be collected as entrypoints for production builds. Fixes #20074
vaadin-bot
added a commit
that referenced
this issue
Sep 27, 2024
This ticket/PR has been released with Vaadin 24.5.0.beta4 and is also targeting the upcoming stable 24.5.0 version. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Description of the bug
When you use
@Layout
then all components only used in the layout are missing from the production bundleThe code here
flow/flow-server/src/main/java/com/vaadin/flow/server/frontend/scanner/FrontendDependencies.java
Line 440 in 4844adb
@Route
and other classes as entry points but does not seem to consider@Layout
Expected behavior
The layout components are included
Minimal reproducible example
Any app using
@Layout
+ AppLayout + SideNav look like this in productionVersions
24.5 beta 3
The text was updated successfully, but these errors were encountered: