damianricobelli / stepperize

A library for creating step-by-step workflows in your apps
https://stepperize.vercel.app
916 stars 40 forks source link

Feat: Improve Nextjs build time #19

Closed soyricardodev closed 2 months ago

soyricardodev commented 3 months ago

This PR contains a simple change in the next.config.js and is ignore typing checks and linting check in build, this improves a lot the vercel build time and local build time, see my local test

I have a HP Laptop windows 11, Core i5-1235U, 24gb ram 500gb ssd m.2

Without config improve and whitout .next folder cache: 26sec Captura de pantalla 2024-07-18 021453

With .next cache 11sec: Captura de pantalla 2024-07-18 021909

With config improve and without cache 19sec: Captura de pantalla 2024-07-18 021737

With config improve and with cache 9sec: Captura de pantalla 2024-07-18 021800

7 sec better without cache 2 sec better with cache

So in vercel we will have faster build times

vercel[bot] commented 3 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
shadcn-stepper ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 18, 2024 6:26am
damianricobelli commented 2 months ago

I close this PR in favour of the complete refactoring of the repository