File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ async function prepareTypes() {
2020 await writeTypes ( nuxt )
2121}
2222
23- export async function buildDevToolsApp ( buildDir : string ) {
23+ export async function buildDevToolsApp ( buildDir : string ) : Promise < void > {
2424 fs . rmSync ( distDir , { recursive : true , force : true } )
2525 await prepareTypes ( )
2626
@@ -67,13 +67,15 @@ export async function buildDevToolsApp(buildDir: string) {
6767
6868 return new Promise < void > ( ( resolve , reject ) => {
6969 nuxt . hooks . hook ( 'vite:extendConfig' , ( config ) => {
70+ // @ts -expect-error skip type check
7071 config . build = {
7172 ...config . build ,
7273 lib : {
7374 // @ts -expect-error skip type check
7475 entry : config . build . rollupOptions . input . entry ,
7576 name : 'devtools-app' ,
7677 fileName : ( ) => `devtools-app.js` ,
78+ cssFileName : `devtools-app.css` ,
7779 formats : [ 'es' ] ,
7880 } ,
7981 rollupOptions : {
You can’t perform that action at this time.
0 commit comments