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

Javascript: browser support increased with babel transformation #2761

Merged
merged 1 commit into from
Feb 25, 2020

Conversation

carocad
Copy link
Contributor

@carocad carocad commented Feb 23, 2020

This PR is a follow up on:

This PR adds a babel transformation to the webpack configuration of antlr4.js. This "enables transforms for ES2015+" as stated on babel website.

According to this website this would default to a global coverage of 90.77%.

For a comparison of the output code you can check this gist

@carocad carocad changed the title browser support increased with babel transformation Javascript: browser support increased with babel transformation Feb 23, 2020
@ericvergnaud
Copy link
Contributor

@parrt blessed

@parrt parrt merged commit 225249f into antlr:master Feb 25, 2020
@carocad carocad deleted the browser-support branch February 25, 2020 19:51
@parrt parrt added this to the 4.9 milestone Nov 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants