<!-- Please don't delete this template or we'll close your issue --> <!-- Before creating an issue please make sure you are using the latest version of VuePress. --> <!-- Please confirm you will submit an issue. --> <!-- Issues which contain questions or support requests will be closed. --> <!-- (Update "[ ]" to "[x]" to check a box) --> - [x] I confirm that this is an issue rather than a question. <!-- Please ask questions via following several ways. --> <!-- https://vue-land.js.org/ --> <!-- https://forum.vuejs.org/ --> <!-- https://stackoverflow.com/questions/ask?tags=vuepress --> ## Bug report After running the build, all parent directories of the project directory are emptied. #### Steps to reproduce <!-- If you are reporting a bug that can ONLY be reproduced on your repository, PLEASE provide this repo link. That takes guessing work out of the way and saves us time. --> <!-- If your repo isn't public, you can use `codesandbox` or `yarn create vuepress` to create a minimal reproduction --> Project path: `~/projects/myproject` In `~/projects/myproject/docs/.vuepress/config.js`: ```js module.exports = { dest: "../" } ``` Run `yarn docs:build` #### What is expected? Generate directory `~/projects/__all_assets` #### What is actually happening? `~/projects` **has been emptied!** _Yes, it did happen._ #### Other relevant information