File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ import { normalizeViteManifest } from 'vue-bundle-renderer'
8
8
import type { Manifest } from 'vue-bundle-renderer'
9
9
import type { ViteBuildContext } from './vite'
10
10
11
- export async function writeManifest ( ctx : ViteBuildContext ) {
11
+ export async function writeManifest ( ctx : ViteBuildContext , css : string [ ] = [ ] ) {
12
12
// Write client manifest for use in vue-bundle-renderer
13
13
const clientDist = resolve ( ctx . nuxt . options . buildDir , 'dist/client' )
14
14
const serverDist = resolve ( ctx . nuxt . options . buildDir , 'dist/server' )
@@ -17,7 +17,7 @@ export async function writeManifest (ctx: ViteBuildContext) {
17
17
'@vite/client' : {
18
18
isEntry : true ,
19
19
file : '@vite/client' ,
20
- css : [ ] ,
20
+ css,
21
21
module : true ,
22
22
resourceType : 'script' ,
23
23
} ,
You can’t perform that action at this time.
0 commit comments