Download code/web/vite.config.ts from MiniMaxAI/oss-ecosystem-data: direct link, hf CLI and curl.
- Browser
- Download file 437 Bytes
-
https://huggingface.co/datasets/MiniMaxAI/oss-ecosystem-data/resolve/3c96cf2d04fca65e12deedeeed8b1e3e1a6fb6df/code/web/vite.config.ts
- Command line
-
hf download hf://datasets/MiniMaxAI/oss-ecosystem-data@3c96cf2d04fca65e12deedeeed8b1e3e1a6fb6df/code/web/vite.config.ts
-
curl -L -o vite.config.ts https://huggingface.co/datasets/MiniMaxAI/oss-ecosystem-data/resolve/3c96cf2d04fca65e12deedeeed8b1e3e1a6fb6df/code/web/vite.config.ts
437 Bytes
| import path from "node:path" | |
| import tailwindcss from "@tailwindcss/vite" | |
| import react from "@vitejs/plugin-react" | |
| import { defineConfig } from "vite" | |
| // Built once and uploaded to the Space; the page reads data/*.json at runtime, so the daily job | |
| // only replaces those files. | |
| export default defineConfig({ | |
| base: "./", | |
| plugins: [react(), tailwindcss()], | |
| resolve: { alias: { "@": path.resolve(import.meta.dirname, "./src") } }, | |
| }) | |