File tree Expand file tree Collapse file tree 3 files changed +7
-2
lines changed
Expand file tree Collapse file tree 3 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -50,6 +50,7 @@ export default defineConfig([
5050 ] ,
5151 // We use [] as default props.
5252 'react-x/no-unstable-default-props' : 'off' ,
53+ curly : [ 'error' , 'all' ] ,
5354 } ,
5455 } ,
5556 {
Original file line number Diff line number Diff line change @@ -90,7 +90,9 @@ export default () => {
9090 */
9191 buildEnd ( ) {
9292 // If no CSS chunks were processed, skip emitting
93- if ( cssChunks . size === 0 ) return ;
93+ if ( cssChunks . size === 0 ) {
94+ return ;
95+ }
9496
9597 // Concatenate all collected CSS strings and emit as a build asset
9698 this . emitFile ( {
Original file line number Diff line number Diff line change @@ -86,7 +86,9 @@ export default class WorkerPool {
8686 processQueue ( threads ) {
8787 if ( this . queue . length > 0 && this . getActiveThreadCount ( ) < threads ) {
8888 const next = this . queue . shift ( ) ;
89- if ( next ) next ( ) ;
89+ if ( next ) {
90+ next ( ) ;
91+ }
9092 }
9193 }
9294}
You can’t perform that action at this time.
0 commit comments