-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Setting dest: './' in config deletes the whole project #322
Comments
dest: './' in config
deletes the whole project
Build time can delete because it is build many times, the root directory is not a good choice |
Yea, I think there should be a warning at least because some people will attempt that, and if there isn’t a remote git backup everything is gone. I was going to build it to root so it can be served over GitHub pages. |
I submitted pr, it shouldn't be a warning but an error |
Thanks :D |
Hi :) I was just trying this out and fiddling with the config. If I set
dest: './'
in.vuepress/config.js
hoping that will build my file into the root directory, runningvuepress build
actually deletes my entire project.The text was updated successfully, but these errors were encountered: