Skip to content

use local TS from node_modules? #27

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
rvikmanis opened this issue Aug 4, 2017 · 4 comments
Closed

use local TS from node_modules? #27

rvikmanis opened this issue Aug 4, 2017 · 4 comments
Assignees
Labels
kind: feature New feature or request

Comments

@rvikmanis
Copy link

Is it somehow possible to use project-local typescript?

@ezolenko
Copy link
Owner

ezolenko commented Aug 4, 2017

I think it does that by default? Plugin does import "typescript". If you set verbosity to high enough level (2 or 3), it will print typescript version it picked up, if you have different local and global versions, you should be able to see which one is used.

If you have a different name for typescript though...

@rvikmanis
Copy link
Author

rvikmanis commented Aug 4, 2017 via email

rvikmanis added a commit to rvikmanis/rollup-plugin-typescript2 that referenced this issue Aug 9, 2017
@ezolenko ezolenko self-assigned this Aug 11, 2017
@ezolenko
Copy link
Owner

Ok, I added typescript option (in master), try requiring your version of typescript and passing that in.

@rvikmanis
Copy link
Author

Seems to work. Thanks!

@agilgur5 agilgur5 changed the title Local TypeScript from node_modules use local TS from node_modules May 26, 2022
@agilgur5 agilgur5 changed the title use local TS from node_modules use local TS from node_modules? May 26, 2022
@agilgur5 agilgur5 added kind: feature New feature or request solution: already possible This is already possible / this feature already exists and removed solution: already possible This is already possible / this feature already exists labels May 26, 2022
Repository owner locked as resolved and limited conversation to collaborators May 26, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
kind: feature New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants