Skip to content

Commit

Permalink
include imported CSS files
Browse files Browse the repository at this point in the history
  • Loading branch information
timacdonald committed Dec 20, 2023
1 parent f8071b5 commit 05eb7f7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion bin/clean.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,10 @@ const main = () => {

const manifestAssets = isSsr
? manifestFiles.flatMap(key => manifest[key])
: manifestFiles.map(key => manifest[key].file)
: manifestFiles.flatMap(key => [
...manifest[key].css ?? [],
manifest[key].file,
])

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

Expand Down

0 comments on commit 05eb7f7

Please sign in to comment.