added ts config so that it could compile using absolute paths without error

This commit is contained in:
Carter 2024-11-14 15:27:54 -06:00
parent 6d71ca75a9
commit df4a259131
4 changed files with 54 additions and 2 deletions

View file

@ -1,10 +1,11 @@
import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
import tsconfigPaths from 'vite-tsconfig-paths'
// https://vitejs.dev/config/
export default defineConfig({
plugins: [react()],
plugins: [react(), tsconfigPaths()],
build: {
outDir: './build',
}
},
})