Skip to content

How do we prevent Babel from compiling all language features? #5103

Answered by mischnic
trusktr asked this question in General
Discussion options

You must be logged in to vote

not use preset-env?

That's unfortunately not possible with Parcel 1 (though Parcel 2 uses your babelrc without modification).

You should set a browserslist config: https://parceljs.org/javascript.html#default-babel-transforms

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@trusktr
Comment options

Answer selected by mischnic
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants