<p dir="auto">how use babel 7 version into ecmascript 7 configuration  ?</p>
<p dir="auto">example my -&gt;  .babelrc --&gt;</p>
<div class="highlight highlight-source-json notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="{
&quot;plugins&quot;:[
   //.....
               ],
  &quot;presets&quot;: [
     &quot;@babel/env&quot;,
     &quot;@babel/flow&quot;,
    &quot;@babel/preset-react&quot;
                    ]
 }"><pre class="notranslate">{
<span class="pl-ent">"plugins"</span>:[
   <span class="pl-ii">//.....</span>
               ],
  <span class="pl-ent">"presets"</span>: [
     <span class="pl-s"><span class="pl-pds">"</span>@babel/env<span class="pl-pds">"</span></span>,
     <span class="pl-s"><span class="pl-pds">"</span>@babel/flow<span class="pl-pds">"</span></span>,
    <span class="pl-s"><span class="pl-pds">"</span>@babel/preset-react<span class="pl-pds">"</span></span>
                    ]
 }</pre></div>
<blockquote>
<p dir="auto">Issue originally reported by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/rauschma/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/rauschma">@rauschma</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="244878909" data-permission-text="Title is private" data-url="https://github.com/babel/babel-preset-env/issues/381" data-hovercard-type="issue" data-hovercard-url="/babel/babel-preset-env/issues/381/hovercard" href="https://github.com/babel/babel-preset-env/issues/381">babel/babel-preset-env#381</a></p>
</blockquote>
<p dir="auto">I’m not sure how much that would be used in practice, but for some experiments and tests, it would be nice if one could specify an ES version to target.</p>
<p dir="auto">Examples:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="&quot;targets&quot;: { &quot;ecmascript&quot;: &quot;2015&quot; }
&quot;targets&quot;: { &quot;ecmascript&quot;: &quot;5&quot; }"><pre class="notranslate"><code class="notranslate">"targets": { "ecmascript": "2015" }
"targets": { "ecmascript": "5" }
</code></pre></div>