
- Replace relative import paths with '@/...' alias in multiple files. - Update tsconfig.json to include paths configuration. - Add alias configuration to webpack.config.js.
26 lines
349 B
JSON
26 lines
349 B
JSON
{
|
|
"compilerOptions": {
|
|
"module": "commonjs",
|
|
"target": "ES2020",
|
|
"lib": [
|
|
"ES2020",
|
|
"es6",
|
|
"dom"
|
|
],
|
|
"outDir": "./dist",
|
|
"sourceMap": true,
|
|
"rootDir": "src",
|
|
"strict": true,
|
|
"jsx": "react",
|
|
"esModuleInterop": true,
|
|
"noImplicitAny": false,
|
|
"paths": {
|
|
"@/*": [
|
|
"./src/*"
|
|
]
|
|
}
|
|
},
|
|
"exclude": [
|
|
"test"
|
|
]
|
|
} |