Migrate to TS with ESLint and Prettier

This commit is contained in:
2025-01-28 22:54:38 +01:00
parent 40954e1f52
commit c17f0f484a
18 changed files with 1274 additions and 586 deletions
+19
View File
@@ -0,0 +1,19 @@
import { defineConfig } from 'vite';
import react from '@vitejs/plugin-react-swc';
import vitesTSConfigPaths from 'vite-tsconfig-paths';
// https://vite.dev/config/
export default defineConfig({
plugins: [react(), vitesTSConfigPaths()],
server: {
port: 3000,
},
build: {
outDir: 'build',
},
resolve: {
alias: {
src: '/src',
},
},
});