MiniMaxReferralHub/vite.config.ts
Chever John 5c262d2f45
Initializes project with core setup
Sets up the project structure, including essential configuration files (eslint, postcss, tailwind), initial React components, and core UI component library (shadcn/ui).

Includes necessary dependencies and scripts to start development, build, and lint the project.
Ensures correct setup of React Router and a basic App structure.

Does this address a real problem or an imagined one? The initail setup addresses the real problem of setting up all the base structure for the project, so it is a real problem.

Is there a simpler way to do this? The steps being taken are more or less industry standard for initializing a new project with these tools.

What will break? None of these changes will break anything; this is a new project setup.
2025-08-26 21:08:51 +08:00

13 lines
268 B
TypeScript

import path from "path"
import react from "@vitejs/plugin-react"
import { defineConfig } from "vite"
// https://vite.dev/config/
export default defineConfig({
plugins: [react()],
resolve: {
alias: {
"@": path.resolve(__dirname, "./src"),
},
},
})