File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -111,20 +111,24 @@ export const pluginDts = (options: PluginDtsOptions = {}): RsbuildPlugin => ({
111111 childProcesses . push ( childProcess ) ;
112112
113113 const { cleanDistPath } = config . output ;
114-
114+ console . time ( `clean dts files ${ environment . name } ` ) ;
115115 // clean dts files
116116 if ( cleanDistPath !== false ) {
117117 await cleanDtsFiles ( dtsEmitPath ) ;
118118 }
119+ console . timeEnd ( `clean dts files ${ environment . name } ` ) ;
119120
121+ console . time ( `clean .rslib temp folder ${ environment . name } ` ) ;
120122 // clean .rslib temp folder
121123 if ( options . bundle ) {
122124 await clearTempDeclarationDir ( cwd ) ;
123125 }
126+ console . timeEnd ( `clean .rslib temp folder ${ environment . name } ` ) ;
124127
128+ console . time ( `clean tsbuildinfo file ${ environment . name } ` ) ;
125129 // clean tsbuildinfo file
126130 await cleanTsBuildInfoFile ( tsconfigPath , tsConfigResult ) ;
127-
131+ console . timeEnd ( `clean tsbuildinfo file ${ environment . name } ` ) ;
128132 const dtsGenOptions : DtsGenOptions = {
129133 ...options ,
130134 dtsEntry,
You can’t perform that action at this time.
0 commit comments