Skip to content

Commit 496c91b

Browse files
authored
include imported CSS files (#275)
1 parent f92c962 commit 496c91b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

bin/clean.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,10 @@ const main = () => {
5454

5555
const manifestAssets = isSsr
5656
? manifestFiles.flatMap(key => manifest[key])
57-
: manifestFiles.map(key => manifest[key].file)
57+
: manifestFiles.flatMap(key => [
58+
...manifest[key].css ?? [],
59+
manifest[key].file,
60+
])
5861

5962
const assetsPath = argument('assets') ?? dirname(foundManifestPath)+'/assets'
6063

0 commit comments

Comments
 (0)