Spaces:
Paused
Paused
Download vite.config.ts from Ethscriptions/video: direct link, hf CLI and curl.
- Browser
- Download file 562 Bytes
-
https://huggingface.co/spaces/Ethscriptions/video/resolve/main/vite.config.ts
- Command line
-
hf download hf://spaces/Ethscriptions/video/vite.config.ts
-
curl -L -o vite.config.ts https://huggingface.co/spaces/Ethscriptions/video/resolve/main/vite.config.ts
562 Bytes
| import { defineConfig } from 'vite' | |
| import react from '@vitejs/plugin-react' | |
| import { fileURLToPath } from 'node:url' | |
| export default defineConfig({ | |
| base: './', | |
| plugins: [react()], | |
| build: { | |
| outDir: 'dist', | |
| assetsInlineLimit: 0, | |
| chunkSizeWarningLimit: 1500, | |
| rollupOptions: { | |
| input: { | |
| main: fileURLToPath(new URL('./index.html', import.meta.url)), | |
| // 项目二《暮归江南》新增页面入口 → /jiangnan/ | |
| jiangnan: fileURLToPath(new URL('./jiangnan/index.html', import.meta.url)), | |
| }, | |
| }, | |
| }, | |
| }) | |