mirror of
https://github.com/taskgenius/taskgenius-plugin.git
synced 2026-07-22 06:40:25 +00:00
Replace relative imports (../../../) with TypeScript path aliases (@/) throughout the codebase for improved readability and maintainability. - Configure path alias in tsconfig.json with @ mapping to src/ - Update esbuild from v0.13.12 to v0.25.9 for modern features - Add alias configuration to esbuild.config.mjs for build support - Refactor build configuration to use context API for watch mode - Update all component and utility imports to use @/ prefix - Fix incorrect CSS import paths in habit and settings components - Maintain consistent import structure across 148 files This change simplifies import statements, makes the codebase more maintainable by avoiding deeply nested relative paths, and modernizes the build toolchain.
21 lines
484 B
JSON
21 lines
484 B
JSON
{
|
|
"compilerOptions": {
|
|
"baseUrl": ".",
|
|
"paths": {
|
|
"@/*": ["src/*"]
|
|
},
|
|
"inlineSourceMap": true,
|
|
"inlineSources": true,
|
|
"module": "ESNext",
|
|
"target": "ES6",
|
|
"allowJs": true,
|
|
"noImplicitAny": true,
|
|
"moduleResolution": "node",
|
|
"importHelpers": true,
|
|
"isolatedModules": true,
|
|
"strictNullChecks": true,
|
|
"lib": ["DOM", "ES5", "ES6", "ES7"],
|
|
"allowSyntheticDefaultImports": true
|
|
},
|
|
"include": ["src/**/*.ts", "src/**/*.tsx", "src/utils/workers/**/*.ts"]
|
|
}
|