Skip to content
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

Turn tslib from peer dependency into dependency #75

Merged
merged 1 commit into from
May 22, 2023

Conversation

tf
Copy link
Contributor

@tf tf commented May 22, 2023

importHelpers: true is present in tsconfig.json which causes helpers to be imported from tslib, but if the surrounding project does not use TypeScript, the package will not be present. This also makes it possible to use libraries that depend on incompatible versions of tslib.

Fixes #74

`importHelpers: true` is present in `tsconfig.json` which causes
helpers to be imported from `tslib`, but if the surrounding project
does not use TypeScript, the package will not be present. This also
makes it possible to use libraries that depend on incompatible
versions of `tslib`.

Fixes retyui#74
@tf
Copy link
Contributor Author

tf commented May 22, 2023

This now breaks size limits again due to the added dependency. Shall I just increase the limits?

@retyui retyui merged commit a3b2db7 into retyui:master May 22, 2023
4 of 5 checks passed
@tf tf deleted the tslib-dep branch May 22, 2023 09:15
@retyui
Copy link
Owner

retyui commented May 22, 2023

Released in 4.9.0

diff: 4.8.0...4.9.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Should tslib be a dependency?
2 participants