feat: add aliases
ci-front / build (push) Has been cancelled

This commit is contained in:
2026-04-03 19:45:04 +03:00
parent 67505d86e8
commit a8b6265a40
2 changed files with 31 additions and 8 deletions
+20 -3
View File
@@ -8,7 +8,18 @@
"types": ["vite/client"],
"skipLibCheck": true,
/* Bundler mode */
"baseUrl": ".",
"paths": {
"@/*": ["src/*"],
"@/components/*": ["src/components/*"],
"@/store/*": ["src/store/*"],
"@/services/*": ["src/services/*"],
"@/styles/*": ["src/styles/*"],
"@/pages/*": ["src/pages/*"],
"@/types/*": ["src/components/layout/sidebar/types/*"],
"@/lib/*": ["src/lib/*"]
},
"moduleResolution": "bundler",
"allowImportingTsExtensions": true,
"verbatimModuleSyntax": true,
@@ -16,7 +27,6 @@
"noEmit": true,
"jsx": "react-jsx",
/* Linting */
"strict": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
@@ -24,5 +34,12 @@
"noFallthroughCasesInSwitch": true,
"noUncheckedSideEffectImports": true
},
"include": ["src"]
"include": [
"src/**/*.ts",
"src/**/*.tsx",
"src/**/*.d.ts",
"env.d.ts",
"src/modules/workaspace/terminal/hooks"
]
}
+11 -5
View File
@@ -1,7 +1,13 @@
import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
import { defineConfig } from "vite";
import react from "@vitejs/plugin-react";
import path from "path";
import tailwindcss from "@tailwindcss/vite";
// https://vite.dev/config/
export default defineConfig({
plugins: [react()],
})
plugins: [react(), tailwindcss()],
resolve: {
alias: {
"@": path.resolve(__dirname, "src"),
},
},
});