Skip to content

Commit 6a46cda

Browse files
authored
fix(manifest): initialize entryCssAssetFileNames as an empty Set (vitejs#20542)
1 parent bd1e019 commit 6a46cda

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/vite/src/node/plugins/manifest.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ export function manifestPlugin(): Plugin {
136136
}
137137

138138
const entryCssReferenceIds = cssEntriesMap.get(this.environment)!
139-
const entryCssAssetFileNames = new Set(entryCssReferenceIds)
139+
const entryCssAssetFileNames = new Set()
140140
for (const id of entryCssReferenceIds) {
141141
try {
142142
const fileName = this.getFileName(id)

0 commit comments

Comments
 (0)