DEV Community

Cover image for Lessons from open-source: Algorithm behind `“next buuild” does not exist. Did you mean “next build”?`

Lessons from open-source: Algorithm behind `“next buuild” does not exist. Did you mean “next build”?`

Ramu Narasinga on March 20, 2024

This lesson is picked from Next.js source code. In this article, you will learn how Next.js detects typo in your CLI commands such as build | dev |...
Collapse
 
fyodorio profile image
Fyodor

That’s really nice, stuff like this provides good UX, something that’s usually an afterthought, especially for CLIs 👍

Collapse
 
ramunarasinga profile image
Ramu Narasinga

Thanks for your comment. I agree, good DX matters.