You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have some private NPM packages using npmjs' private repository. Assume
scope name : @scope
private package name as : private-package
When we install this NPM package using npm install @scope/private-package
It is installed to : ./node_modules/@scope/private-package
In VSCode, to import some thing from this package, we need to do import {SomeThing} from '@scope/private-package'
Is there anything in TypeScript configuration that we can re-map @scope/private-package to private-package
so that we can use like import {SomeThing} from 'private-package' instead of adding@scope?
The text was updated successfully, but these errors were encountered:
This is a question.
We have some private NPM packages using npmjs' private repository. Assume
@scope
private-package
When we install this NPM package using
npm install @scope/private-package
It is installed to :
./node_modules/@scope/private-package
In VSCode, to import some thing from this package, we need to do
import {SomeThing} from '@scope/private-package'
Is there anything in TypeScript configuration that we can re-map
@scope/private-package
toprivate-package
so that we can use like
import {SomeThing} from 'private-package'
instead of adding@scope
?The text was updated successfully, but these errors were encountered: