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

Publish esprima js files #1973

Open
wants to merge 1 commit into
base: 4.0
from
Open

Conversation

@bretkikehara
Copy link

@bretkikehara bretkikehara commented May 15, 2019

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.

Bret Ikehara
@jsf-clabot
Copy link

@jsf-clabot 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
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants
You can’t perform that action at this time.