-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
产出到目标目录之前,清空目录 #3
Comments
嗯,一直都是这样的,原来的文件手动删吧。采用非覆盖式部署方式,老文件是不会删的。 |
能否提供一个配置项,是否清空原来的文件目录? |
那发布到线上的dist,不是有很多历史版本的js、css等文件,这里最好提供一个删除功能,没有只保留当前构建的文件吧 |
我也遇到这个问题,如果我已经部署过多,肯定已经到线上服务器或者cdn了 |
我在conf.js 里面自己处理
奇慢无比... |
"scripts": { 在目录的package配置,npm run build就可以了 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
目前的问题: 加md5产出后,之前版本的文件还存在产出目录中。
The text was updated successfully, but these errors were encountered: