Skip to content

Commit c40eaf9

Browse files
committed
formatter
1 parent 4b201e1 commit c40eaf9

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

flow-server/src/main/java/com/vaadin/flow/server/frontend/AbstractUpdateImports.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -750,10 +750,12 @@ protected boolean addCssLines(Collection<String> lines, CssData cssData,
750750
.map(entry -> entry.getKey() + "=" + entry.getValue())
751751
.collect(Collectors.joining("&"));
752752

753-
// Prevent Vite from treating `virtual:flow-css-import?path=path/to/file.css` as css import
753+
// Prevent Vite from treating
754+
// `virtual:flow-css-import?path=path/to/file.css` as css import
754755
queryString += "&_";
755756

756-
lines.add("import 'virtual:flow-css-import?%s';".formatted(queryString));
757+
lines.add(
758+
"import 'virtual:flow-css-import?%s';".formatted(queryString));
757759

758760
return found || !options.isBundleBuild();
759761
}

0 commit comments

Comments
 (0)