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

Use tslib for smaller modules #275

Closed
roddolf opened this issue Jul 24, 2018 · 0 comments
Closed

Use tslib for smaller modules #275

roddolf opened this issue Jul 24, 2018 · 0 comments
Assignees

Comments

@roddolf
Copy link
Collaborator

roddolf commented Jul 24, 2018

The library tslib contains the helpers of TypeScript (for example the extension of classes, or polyfills for ES5 compatibility).

If the library is applied as dependency and adding the flag --importHelpers in the configuration, it will generate smaller modules and bundles, since it will remove repeated code and it'll add less overhead when parsing the javascript files.

Applying the same configuration to SPARQLER will also reduce code, since both will depend in tslib for the helpers

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

No branches or pull requests

1 participant