Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

156
Views
Vite cacheDir Not being Used for Cached Files

I'm using vite 2.9.13 which is the latest version I believe.

Also still using Vue 2 if that makes a difference here.

When deploying I'm building assets in my Github Actions so as to not need to have node_modules installed on my server.

But this then eliminates the the cache files generated on build, so I've set a new cacheDir value in my vite config:

cacheDir: '.deps'

But when I build I get nothing in .deps and nothing in the default node_modules/.vite

Any idea what I need to do to get cache files to build in a different directory?

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!