fix: resolve frontend TypeScript sources first (AEG-X-002)

This commit is contained in:
2026-08-08 16:34:44 +09:00
parent 9665f7791f
commit 9da1903d64
6 changed files with 86 additions and 4 deletions
+4 -1
View File
@@ -6,7 +6,10 @@ const apiTarget = process.env.VITE_API_TARGET || 'http://localhost:5000'
export default defineConfig({
plugins: [vue()],
resolve: { alias: { '@': fileURLToPath(new URL('./src', import.meta.url)) } },
resolve: {
alias: { '@': fileURLToPath(new URL('./src', import.meta.url)) },
extensions: ['.ts', '.tsx', '.vue', '.js', '.jsx', '.json']
},
server: { proxy: { '/api': apiTarget } },
preview: { proxy: { '/api': apiTarget } }
})