Skip to content

How to get the cache from previous build to speed up CI/CD? #17541

Answered by tatsmaki
RomainMazB asked this question in Q&A
Discussion options

You must be logged in to vote

https://vitejs.dev/guide/dep-pre-bundling#file-system-cache

You can copy /node_modules/.vite from the previous build
cp -r will do the job

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by RomainMazB
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants