We currently have private NPM packages that are stored in npmjs' private repository. Let's say
- scope name :
@scope
- private package name:
private-package
When we install this specific NPM package using
npm install @scope/private-package
It gets installed at :
.node_modules/@scope/private-package
In the VSCode editor, in order to import something from this package, we usually do
import {SomeThing} from '@scope/private-package'
We are wondering if there is any way to configure TypeScript settings so that we can re-map
@scope/private-package
to private-package
, allowing us to use
import {SomeThing} from 'private-package'
instead of including@scope
?