nix-hamburg.astro.nix/vite.config.js
2023-04-07 22:32:14 +02:00

5 lines
170 B
JavaScript

import { defineConfig } from 'vite';
const cacheDir = process.env.VITE_CACHE ? process.env.VITE_CACHE : 'node_modules/.vite';
export default defineConfig({ cacheDir });