We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Vaadin Flow builds a new production bundle if there is a change in frontend/themes/my-theme/styles.css:
frontend/themes/my-theme/styles.css
Detected changed frontend files: - themes/my-theme/styles.css
In the same time, it doesn't build a bundle, when the changes are in the imported CSS file, e.g.: themes/my-theme/styles.css:
themes/my-theme/styles.css
@import url('./shared/layout.css');
and these changes are not reflected in the application.
Note: if an application uses a default pre-compiled prod bundle, the changes are reflected and added to a bundle.
Workaround: force production build or delete prod bundle from src/main/bundles/
src/main/bundles/
Production bundle should take into account changes in imported CSS files.
Any Flow application that requires a new production bundle. themes/my-theme/styles.css:
themes/my-theme/shared/layout.css:
themes/my-theme/shared/layout.css
body { background-color: #ffff00; }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Description of the bug
Vaadin Flow builds a new production bundle if there is a change in
frontend/themes/my-theme/styles.css
:In the same time, it doesn't build a bundle, when the changes are in the imported CSS file, e.g.:
themes/my-theme/styles.css
:and these changes are not reflected in the application.
Note: if an application uses a default pre-compiled prod bundle, the changes are reflected and added to a bundle.
Workaround: force production build or delete prod bundle from
src/main/bundles/
Expected behavior
Production bundle should take into account changes in imported CSS files.
Minimal reproducible example
Any Flow application that requires a new production bundle.
themes/my-theme/styles.css
:themes/my-theme/shared/layout.css
:Versions
The text was updated successfully, but these errors were encountered: