简体   繁体   English

如何在 Next.js 中恢复下一个构建和导出命令

[英]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?在 Next.js 中按下构建命令后,有什么方法可以恢复文件?

There is nothing to revert when you use next build .当您使用next build时,没有什么可以恢复的。 What it does is creating a .next folder which contains all the built files.它所做的是创建一个包含所有构建文件的.next文件夹。

If you don't want the files just delete the .next folder in your project root directory.如果您不想要这些文件,只需删除项目根目录中的.next文件夹即可。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM