vite needs to understand the src mapping (redundant with tsconfig.json)

This commit is contained in:
C. Fuhrman 2025-01-10 15:56:43 -05:00
parent 6c73cfddc9
commit ea6454550c

View file

@ -20,6 +20,11 @@ export default defineConfig({
pluginChecker({ typescript: true }),
EnvironmentPlugin(filteredEnv),
],
resolve: {
alias: {
'src': '/src'
}
},
preview: {
port: 5173,
strictPort: true