Skip to content

Conversation

@bretkikehara
Copy link

By publishing the ES5 in lib and ES2015 and lib.es2015 to npm, the esprima library can be directly referenced leading to more control over what ends up in a output bundle. While the webpack bundle works well, it is essentially a "binary" that can't be "tree-shaken" to remove support for functionality that isn't needed. In my case, JSX support is not needed, so I want to remove JSX from the output. Having individual files allows me to import only those files necessary to parse scripts.

@jsf-clabot
Copy link

jsf-clabot commented May 15, 2019

CLA assistant check
Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.


Bret Ikehara seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.

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

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants