Skip to content

Commit

Permalink
only put css in entry_css_files
Browse files Browse the repository at this point in the history
  • Loading branch information
sokra committed Sep 19, 2023
1 parent deb81cf commit 184f511
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,11 @@ impl ClientReferenceManifest {
client_chunks_paths
.iter()
.filter_map(|chunk_path| {
client_relative_path.get_path_to(chunk_path)
if chunk_path.extension_ref() == Some("css") {
client_relative_path.get_path_to(chunk_path)
} else {
None
}
})
.map(ToString::to_string),
);
Expand Down

0 comments on commit 184f511

Please sign in to comment.