Changing temp
in config.js
as per https://vuepress.vuejs.org/config/#temp does not work
#2038
Closed
1 task done
Bug report
Steps to reproduce
temp
to another path in.vuepress/config.js
vuepress build
/path/to/@vuepress/core/.temp
What is expected?
Reading https://vuepress.vuejs.org/config/#temp I understand that by changing
temp
inconfig.js
like this:Should tell
vuepress build
to use this folder instead of/path/to/@vuepress/core/.temp
.What is actually happening?
Running
vuepress build
still generate temp files under/path/to/@vuepress/core/.temp
even if.vuepress/config.js
contains another path fortemp
.Other relevant information
Running `vuepress build --temp D:/TEMP/6f35127b-d15a-408e-b976-9a6e7d8b00fe/work will correctly create temp files under the specified directory so this is not a show stopper, but I wanted to report the issue so it's addressed or the doc is updated appropriately.
I want to change the temporary files location because the
vuepress build
process is to be run under an account that should not have write access to/path/to/@vuepress/core
even if limited to.temp
.npx vuepress info
in my VuePress project:NOTE: I'm not sure why
envinfo
is not picking up all information needed below. Mynode
setup is "portable" and contains the following inetc/npmrc
:vuepress
work as expected (other than the current issue being reported).Thanks for the great project!
The text was updated successfully, but these errors were encountered: