customize-cra
customize-cra copied to clipboard
my tsconfig.json should be free! please let it go!
everytime i start my project, it will overwrite my tsconfig!
it make my paths useless !
how to fix that!
You can get around that like this to tsconfig:
{
"extends": "./tsconfig.paths.json", // <-- Add this line
"compilerOptions": {
"target": "es6",
tsconfig.paths.json
{
"compilerOptions": {
"baseUrl": ".",
"paths": {
"@components/*": ["src/client/components/*"],
// Add more paths here
}
}
}
Hope that helps