Skip to content

adapter-vercel shouldn't wipe .vercel/output #5207

@Rich-Harris

Description

@Rich-Harris

Describe the bug

This line is problematic...

builder.rimraf(dir);
...because it wipes files that vc build places in that directory. vc build also empties the directory, which is enough.

Reproduction

Going to break my own rule and skip a repro for this one, since it's best demonstrated with a canary version of the Vercel CLI

Logs

No response

System Info

latest everything

Severity

annoyance

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingpkg:adapter-vercelPertaining to the Vercel adapter

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions