Skip to content

Change temp directory #723

Closed
Closed
@harryhorton

Description

@harryhorton

Feature request

Enable users to change the location of the .temp directory for the build process.

What problem does this feature solve?

I'm attempting to run VuePress within Google Cloud functions where the node_modules folder is readonly. Based on the errors I'm getting, it looks like VuePress is attempting to make use of a temp directory within node_modules, rather than in the src or dist locations.

What does the proposed API look like?

For the cli vuepress build --dist .vuepress/dist --temp /tmp/vuepresstemp /tmp/client/

Though an extra configuration option would be helpful as well.

How should this be implemented in your opinion?

Are you willing to work on this yourself?**

With some general direction, I'd be happy to make a PR.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: feature requestRequest to add a new featureversion: nextPlanned to do or already included in the next(1.0.0) version

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions