Skip to content
This repository has been archived by the owner on Jan 22, 2024. It is now read-only.

Reduce reflect-metadata dependency size #9

Closed
dulowski-marek opened this issue Apr 19, 2019 · 1 comment
Closed

Reduce reflect-metadata dependency size #9

dulowski-marek opened this issue Apr 19, 2019 · 1 comment
Assignees
Projects

Comments

@dulowski-marek
Copy link
Owner

Problem
Currently https://github.com/rbuckton/reflect-metadata is used, which provides its own polyfills for objects like WeakMap. There's an issue aiming to solve it, but there's no response (rbuckton/reflect-metadata#73).

Due to how reflection works under the hood, the package makes its way into consumer bundle, which adds large size overhead unnecessarily.

Solution
There's an alternative implementation of metadata proposal which is sufficient - https://github.com/abraham/reflection , which should be used.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
No open projects
Development
  
In progress
Development

No branches or pull requests

2 participants
@dulowski-marek and others