We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c1bac96 + c0442a0 commit 016bf04Copy full SHA for 016bf04
src/index.ts
@@ -169,7 +169,7 @@ export default function laravel(config: string|string[]|PluginConfig): LaravelPl
169
cssManifest[relativeChunkPath] = {
170
/* eslint-disable-next-line @typescript-eslint/ban-ts-comment */
171
/* @ts-ignore */
172
- file: Array.from(chunk.viteMetadata.importedCss)[0],
+ file: Array.from(chunk.viteMetadata.importedCss)[0] ?? chunk.fileName,
173
src: relativeChunkPath,
174
isEntry: true,
175
}
0 commit comments