VS Code is auto-importing everything relative to baseUrl
using Node-like non-relative paths, which is what I don't want.
How do I tell VS Code to import everything with relative paths (except for Node modules of course)?
Removing the baseUrl
option is not an option because I need it in order to point fs
imports at a local polyfill of the fs
module.
My tsconfig.json has this:
"baseUrl": "./",
"paths": {
"fs/*": [ "./src/util/FileSystem/*" ]
}
If there's no other way other than removing the baseUrl
option, then that doesn't do any good!