Skip to content

Remove tslib dependency from packages#832

Merged
oliviertassinari merged 2 commits into
masterfrom
dependabot/npm_and_yarn/tslib-2.1.0
Jan 11, 2021
Merged

Remove tslib dependency from packages#832
oliviertassinari merged 2 commits into
masterfrom
dependabot/npm_and_yarn/tslib-2.1.0

Conversation

@dependabot-preview

@dependabot-preview dependabot-preview Bot commented Jan 10, 2021

Copy link
Copy Markdown
Contributor

Edit by @oliviertassinari

It looks like tslib was added by mistake in #44 and #103. If it was on purpose we need to talk about the process. A case needs to be made before we add/remove dependencies. It should happen into a single focus pull request (not inside a large refactoring mixing different things).

As far as I understand it, tslib shouldn't be present because:

  1. tslib is required when using the --importHelpers option which we don't: https://www.npmjs.com/package/tslib.
  2. if we do want to inline the helpers, for bundle size reasons, then @babel/runtime should be used (for consistency with the other components & minimizing bundle size).

Closes #47

@dependabot-preview dependabot-preview Bot added the dependencies Update of dependencies. label Jan 10, 2021
@oliviertassinari oliviertassinari changed the title Bump tslib from 2.0.3 to 2.1.0 Remove tslib Jan 10, 2021
@oliviertassinari
oliviertassinari force-pushed the dependabot/npm_and_yarn/tslib-2.1.0 branch from 006f636 to 2056f89 Compare January 10, 2021 16:22
@oliviertassinari
oliviertassinari merged commit 6232c6f into master Jan 11, 2021
@oliviertassinari
oliviertassinari deleted the dependabot/npm_and_yarn/tslib-2.1.0 branch January 11, 2021 15:16
@oliviertassinari oliviertassinari changed the title Remove tslib Remove tslib dependency from packages Jan 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Update of dependencies.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Re-evaluate requirement for tslib as a dependency

3 participants