-
Notifications
You must be signed in to change notification settings - Fork 187
fix: move CSS imports from @Theme to bootstrap JS file #22518
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
base: main
Are you sure you want to change the base?
Conversation
|
entryPoint.getModulesDevelopmentOnly() | ||
.addAll(classInfo.modulesDevelopmentOnly); | ||
if (classInfo.loadCss) { | ||
if (classInfo.loadCss || activeTheme |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the loadCss is always false for all theme files and activeTheme now lets through all theme files even with loadCss false. So the flag can be fully removed.
Assert.assertEquals( | ||
"Project contains 4 css injections to document and all should be hashed", | ||
4l, getCommandExecutor().executeScript( | ||
"Project contains 2 css injections to document and all should be hashed", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What global css has embedded applications lost?
|
||
protected <T> List<String> merge(Map<T, List<String>> css) { | ||
protected <T> List<String> merge(Map<T, List<String>> outputFiles) { | ||
// Ignore app shell imports and definitions for bundle build detection, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't app shell imports also be taken into account by flow as they are not added to the general imports anymore even though they were there before?
Fixes #22517