diff --git a/ui/package-lock.json b/ui/package-lock.json index eefe61f1d..b4249a5e1 100644 --- a/ui/package-lock.json +++ b/ui/package-lock.json @@ -84,8 +84,7 @@ "ts-jest": "29.4.6", "typescript": "5.9.3", "typescript-eslint": "8.57.1", - "vite": "8.0.1", - "vite-tsconfig-paths": "6.1.1" + "vite": "8.0.1" } }, "node_modules/@adobe/css-tools": { @@ -6739,13 +6738,6 @@ "url": "https://github.com/sponsors/isaacs" } }, - "node_modules/globrex": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/globrex/-/globrex-0.1.2.tgz", - "integrity": "sha512-uHJgbwAMwNFf5mLst7IWLNg14x1CkeqglJb/K3doi4dw6q2IvAAmM/Y81kevy83wP+Sst+nutFTYOGg3d1lsxg==", - "dev": true, - "license": "MIT" - }, "node_modules/graceful-fs": { "version": "4.2.11", "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz", @@ -10505,27 +10497,6 @@ "dev": true, "license": "MIT" }, - "node_modules/tsconfck": { - "version": "3.1.6", - "resolved": "https://registry.npmjs.org/tsconfck/-/tsconfck-3.1.6.tgz", - "integrity": "sha512-ks6Vjr/jEw0P1gmOVwutM3B7fWxoWBL2KRDb1JfqGVawBmO5UsvmWOQFGHBPl5yxYz4eERr19E6L7NMv+Fej4w==", - "dev": true, - "license": "MIT", - "bin": { - "tsconfck": "bin/tsconfck.js" - }, - "engines": { - "node": "^18 || >=20" - }, - "peerDependencies": { - "typescript": "^5.0.0" - }, - "peerDependenciesMeta": { - "typescript": { - "optional": true - } - } - }, "node_modules/tslib": { "version": "2.8.1", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", @@ -10875,21 +10846,6 @@ } } }, - "node_modules/vite-tsconfig-paths": { - "version": "6.1.1", - "resolved": "https://registry.npmjs.org/vite-tsconfig-paths/-/vite-tsconfig-paths-6.1.1.tgz", - "integrity": "sha512-2cihq7zliibCCZ8P9cKJrQBkfgdvcFkOOc3Y02o3GWUDLgqjWsZudaoiuOwO/gzTzy17cS5F7ZPo4bsnS4DGkg==", - "dev": true, - "license": "MIT", - "dependencies": { - "debug": "^4.1.1", - "globrex": "^0.1.2", - "tsconfck": "^3.0.3" - }, - "peerDependencies": { - "vite": "*" - } - }, "node_modules/w3c-xmlserializer": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/w3c-xmlserializer/-/w3c-xmlserializer-5.0.0.tgz", diff --git a/ui/package.json b/ui/package.json index 3b54589bd..ae6b6e179 100644 --- a/ui/package.json +++ b/ui/package.json @@ -80,8 +80,7 @@ "ts-jest": "29.4.6", "typescript": "5.9.3", "typescript-eslint": "8.57.1", - "vite": "8.0.1", - "vite-tsconfig-paths": "6.1.1" + "vite": "8.0.1" }, "scripts": { "start": "vite", diff --git a/ui/vite.config.ts b/ui/vite.config.ts index 64cd91bac..ec2684638 100644 --- a/ui/vite.config.ts +++ b/ui/vite.config.ts @@ -1,11 +1,10 @@ import { defineConfig } from "vite"; import react from "@vitejs/plugin-react"; -import viteTsconfigPaths from "vite-tsconfig-paths"; import legacy from "@vitejs/plugin-legacy"; export default defineConfig({ base: "./", - plugins: [react(), viteTsconfigPaths(), legacy()], + plugins: [react(), legacy()], server: { open: true, port: 3000, @@ -27,4 +26,7 @@ export default defineConfig({ build: { sourcemap: true, }, + resolve: { + tsconfigPaths: true + } });