fix(ui): remove vite-tsconfig-paths

This commit is contained in:
Lukasz Mierzwa
2026-03-20 14:18:30 +00:00
committed by Łukasz Mierzwa
parent a8145701bf
commit 1d891d2fca
3 changed files with 6 additions and 49 deletions

46
ui/package-lock.json generated
View File

@@ -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",

View File

@@ -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",

View File

@@ -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
}
});