Files
personal-finance/frontend-web/vite.config.ts
Alexander Zinn f1f0032bca Add initial frontend-web setup with React, TypeScript, and Vite
- Created a new frontend-web project structure with essential files including package.json, tsconfig, and Vite configuration.
- Added ESLint and Prettier configurations for code quality.
- Implemented basic UI components (Button, Card, Input, Label) with Tailwind CSS for styling.
- Established Redux store with user authentication slice and typed hooks for state management.
- Included a sample App component demonstrating the use of UI components and Redux store.
- Set up .gitignore to exclude build artifacts and dependencies.
2025-12-07 10:38:02 -05:00

22 lines
420 B
TypeScript

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