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

ship esm version #1378

Closed
vankop opened this issue Aug 3, 2020 · 5 comments · Fixed by #2112
Closed

ship esm version #1378

vankop opened this issue Aug 3, 2020 · 5 comments · Fixed by #2112

Comments

@vankop
Copy link

vankop commented Aug 3, 2020

Is your feature request related to a problem? Please describe.

ESM is more "friendly" for web.
Pros:

  1. consumable for esm-first bundlers by default
  2. easy to tree-shaking. Probably all tree-shaking should work
  3. probably decrease transfer code size when one file (e.g. esm.js) shipped. (more compile-time optimization: e.g. mangling, compression)

Describe the solution you'd like

Setup rollup bundling for packages. I could help here 🤓

Describe alternatives you've considered

webpack@5 as a bundler is not ready for this task yet..

Additional context

Side note: all code written mostly in object-oriented style, technically, functional style code easier to compress (you don't need to track this context)

@dyladan
Copy link
Member

dyladan commented Aug 3, 2020

I could help here 🤓

Would you like to be assigned this issue?

@vankop
Copy link
Author

vankop commented Aug 3, 2020

I could help here 🤓

Would you like to be assigned this issue?

Yep

@xirzec
Copy link

xirzec commented Sep 29, 2020

This looks like the same request as #1253

@ramya-rao-a
Copy link

@vankop Any updates since this issue was assigned to you?

@vankop
Copy link
Author

vankop commented Dec 24, 2020

sorry, did not finished it in august and did not look on it later..

@vankop vankop removed their assignment Dec 24, 2020
pichlermarc pushed a commit to dynatrace-oss-contrib/opentelemetry-js that referenced this issue Dec 15, 2023
…elemetry#1378)

* Remove duplication in readme

* Just the deduplication, not the sort

* Remove http duplicate

* Sort list

---------

Co-authored-by: Daniel Dyla <[email protected]>
Co-authored-by: Amir Blum <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants