Skip to content

After running the build, all parent directories of the project directory are emptied. #2631

Open
@tianxiemaochiyu

Description

@tianxiemaochiyu
  • I confirm that this is an issue rather than a question.

Bug report

After running the build, all parent directories of the project directory are emptied.

Steps to reproduce

Project path: ~/projects/myproject

In ~/projects/myproject/docs/.vuepress/config.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

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs reproductionWaiting for a reproduction link (codepen, code sandbox, GH repos)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions