🗑️(frontend) remove vite-tsconfig-paths dependency

Uninstall `vite-tsconfig-paths` as path resolution is now supported
natively by Vite's built-in configuration.

Remove the unused dependency and simplify the frontend tooling setup.
This commit is contained in:
lebaudantoine
2026-06-04 12:56:13 +02:00
committed by aleb_the_flash
parent a01f0256a1
commit 8c3d1bdd95
3 changed files with 5 additions and 64 deletions
+3 -2
View File
@@ -1,6 +1,5 @@
import { defineConfig, loadEnv } from 'vite'
import react from '@vitejs/plugin-react'
import tsconfigPaths from 'vite-tsconfig-paths'
import { visualizer } from 'rollup-plugin-visualizer'
import svgr from 'vite-plugin-svgr'
@@ -10,7 +9,6 @@ export default defineConfig(({ mode }) => {
return {
plugins: [
react(),
tsconfigPaths(),
svgr({
svgrOptions: {
replaceAttrValues: { '#000': 'currentColor', '#000000': 'currentColor', '#1f1f1f': 'currentColor' },
@@ -23,6 +21,9 @@ export default defineConfig(({ mode }) => {
brotliSize: true,
}),
],
resolve: {
tsconfigPaths: true
},
build: {
sourcemap: env.VITE_BUILD_SOURCEMAP === 'true',
},