-
-
Notifications
You must be signed in to change notification settings - Fork 30
Open
Labels
Good First IssueGood for newcomersGood for newcomers
Description
I don't use paths in my project, just baseUrl like so:
{
"extends": "../../tsconfig.packages.json",
"compilerOptions": {
"rootDir": "src",
"outDir": "dist",
"baseUrl": "./src"
}
}
I have to add a blank paths to make this work. Is this avoidable?
Doesn't work:
"plugins": [
{ "transform": "typescript-transform-paths", "useRootDirs": true },
{ "transform": "typescript-transform-paths", "useRootDirs": true, "afterDeclarations": true }
]
Works great:
"paths": {
"*": ["*"]
},
"plugins": [
{ "transform": "typescript-transform-paths", "useRootDirs": true },
{ "transform": "typescript-transform-paths", "useRootDirs": true, "afterDeclarations": true }
]
Metadata
Metadata
Assignees
Labels
Good First IssueGood for newcomersGood for newcomers