-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
[Case Study] Can't find tslib with rollup-plugin-typescript2 #2140
Comments
Probably because the plugin uses your work-space's |
✨ This is an old work account. Please reference @brandonchinn178 for all future communication ✨ Even if the plugin is the one calling |
Yep, because plugin has |
✨ This is an old work account. Please reference @brandonchinn178 for all future communication ✨ I see. So unless the plugin moves |
That is the correct solution, TypeScript is trying to resolve |
What package is covered by this investigations?
rollup
rollup-plugin-typescript2
Describe the goal of the investigation
Why does rollup fail?
Investigation report
Related: ezolenko/rollup-plugin-typescript2#12
Minimal repro: https://github.com/brandon-leapyear/yarnpkg-berry-repro-2140
I'm getting an error like
Which is odd to me because
rollup-plugin-typescript2
declarestslib
as a dependency (link). I can solve the error by addingtslib
to my owndevDependencies
, but I'm wondering if that's the actual solution, or if there's something else going on.The text was updated successfully, but these errors were encountered: