admin fix 3

This commit is contained in:
Dmitry 2026-01-06 23:59:30 +03:00
parent 469b04492c
commit 96f017fe03
5 changed files with 4 additions and 33 deletions

View file

@ -5,7 +5,7 @@
"type": "module",
"scripts": {
"dev": "vite --port 5174",
"build": "vite build",
"build": "tsc -b && vite build",
"lint": "eslint .",
"preview": "vite preview --port 5174",
"test": "vitest"

View file

@ -28,8 +28,7 @@
"baseUrl": ".",
"paths": {
"@/*": ["./src/*"]
},
"resolveJsonModule": true
}
},
"include": ["src"]
}

View file

@ -1,13 +0,0 @@
{
"extends": "./tsconfig.app.json",
"compilerOptions": {
"moduleResolution": "node",
"allowImportingTsExtensions": false,
"baseUrl": ".",
"paths": {
"@/*": ["./src/*"]
}
},
"include": ["src"]
}

View file

@ -3,11 +3,5 @@
"references": [
{ "path": "./tsconfig.app.json" },
{ "path": "./tsconfig.node.json" }
],
"compilerOptions": {
"baseUrl": ".",
"paths": {
"@/*": ["./src/*"]
}
}
]
}

View file

@ -1,20 +1,11 @@
/// <reference types="vitest" />
import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
import checker from 'vite-plugin-checker'
import path from 'path'
// https://vite.dev/config/
export default defineConfig({
plugins: [
react(),
checker({
typescript: {
tsconfigPath: './tsconfig.app.json',
buildMode: true,
},
}),
],
plugins: [react()],
server: {
port: 5174,
},