zurik_ned
zurik_ned

Reputation: 1

How to revert next build and export command in Next.js

Is there any way to revert the files after your press build command in Next.js?

Upvotes: 0

Views: 3546

Answers (1)

Someone Special
Someone Special

Reputation: 13588

There is nothing to revert when you use next build. What it does is creating a .next folder which contains all the built files.

If you don't want the files just delete the .next folder in your project root directory.

Upvotes: 1

Related Questions