Co-authored-by: Микаэл Оганесян <mikaeloganesan@MacBook-Pro-Mikael.local> Reviewed-on: #17 Reviewed-by: Илья Куприец <kkzemeow@gmail.com>
27 lines
685 B
TypeScript
27 lines
685 B
TypeScript
import { defineConfig, type UserConfigExport } from "vite";
|
|
import react from "@vitejs/plugin-react";
|
|
import tailwindcss from "@tailwindcss/vite";
|
|
import path from "path";
|
|
|
|
export default defineConfig({
|
|
plugins: [
|
|
react(),
|
|
tailwindcss(),
|
|
],
|
|
resolve: {
|
|
alias: {
|
|
"@shared": path.resolve(__dirname, "src/shared"),
|
|
"@entities": path.resolve(__dirname, "src/entities"),
|
|
"@features": path.resolve(__dirname, "src/features"),
|
|
"@widgets": path.resolve(__dirname, "src/widgets"),
|
|
"@pages": path.resolve(__dirname, "src/pages"),
|
|
"@app": path.resolve(__dirname, "src/app"),
|
|
},
|
|
},
|
|
|
|
build: {
|
|
chunkSizeWarningLimit: 5000,
|
|
},
|
|
});
|
|
|