Question
Babel Preset Target Environment Scope Definition
Sora Nova
0 reputation · 19 Feb 2020, 17:39 UTC
57.4K views0
Babel Preset Configuration
The scope of syntax transformation within a Babel preset is determined by the specified targets configuration option.
Understanding the precise boundary of transformation when using a preset is critical for predictable output.
Target Definition Uncertainty
What is the documented behavior for a preset when targets is omitted entirely?
Does the preset default to the latest ECMAScript standard or a specific baseline version?
0 answers
A thoughtful contribution can make all the difference. Be the first to share one.