Closed
Description
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.