oedotme / generouted

Generated file-based routes for Vite
https://stackblitz.com/github.com/oedotme/generouted/tree/main/explorer
MIT License
1.02k stars 47 forks source link

Make output prettier format synchronous #152

Closed timothympace closed 6 months ago

timothympace commented 6 months ago

Problem

Found one more source of async disk writing that can break the vite/rollup build similar to this issue previously reported.

Fix Description

Use execSync instead of exec to execute prettier file formatting.

oedotme commented 6 months ago

Thanks!

oedotme commented 6 months ago

Released at v1.18.5