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

Only building dist for ESM modules? #626

Open
shubham441996 opened this issue Jan 15, 2020 · 0 comments
Open

Only building dist for ESM modules? #626

shubham441996 opened this issue Jan 15, 2020 · 0 comments

Comments

@shubham441996
Copy link

I have seen the dist of @artsy/palette package.
Have Following question?

  • Why we are not building package in other module like UMD.
  • Why we are using babel if we can compile it using tsc and it will produce the same lib.
import {abc}  from 'xyz';
import abc from xyz/dist/abc

did both the line will do the tree shaking ?

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

No branches or pull requests

1 participant