Download progress/github/SpecForge/docs/spec_bundle/vite.config.js from FasterDFlash/Hanrui: direct link, hf CLI and curl.
- Browser
- Download file 578 Bytes
-
https://huggingface.co/FasterDFlash/Hanrui/resolve/main/progress/github/SpecForge/docs/spec_bundle/vite.config.js
- Command line
-
hf download hf://FasterDFlash/Hanrui/progress/github/SpecForge/docs/spec_bundle/vite.config.js
-
curl -L -o vite.config.js https://huggingface.co/FasterDFlash/Hanrui/resolve/main/progress/github/SpecForge/docs/spec_bundle/vite.config.js
578 Bytes
| import { defineConfig } from 'vite' | |
| import vue from '@vitejs/plugin-vue' | |
| // https://vite.dev/config/ | |
| export default defineConfig({ | |
| plugins: [vue()], | |
| base: './', // Use relative paths for deployment | |
| build: { | |
| outDir: 'dist', | |
| assetsDir: 'assets', | |
| sourcemap: false, | |
| minify: 'esbuild', // Use esbuild for faster minification (Vite built-in) | |
| rollupOptions: { | |
| output: { | |
| manualChunks: { | |
| 'vue-vendor': ['vue'], | |
| 'echarts-vendor': ['echarts', 'vue-echarts'], | |
| 'csv-vendor': ['papaparse'] | |
| } | |
| } | |
| } | |
| } | |
| }) | |