Skip to content

Commit

Permalink
fix: Accept css if not building bundle (#16910) (#16924)
Browse files Browse the repository at this point in the history
File found can be ignored if not
building bundle due to accepted bundle.

Fixes #16885

Co-authored-by: caalador <[email protected]>
  • Loading branch information
vaadin-bot and caalador authored May 31, 2023
1 parent d9b478b commit 56e3a20
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -654,7 +654,7 @@ protected boolean addCssLines(Collection<String> lines, CssData cssData,
} else {
addLines(lines, String.format(INJECT_CSS, i, cssImport));
}
return found;
return found || !options.isBundleBuild();
}

private String notFoundMessage(Set<String> files, String prefix,
Expand Down

0 comments on commit 56e3a20

Please sign in to comment.