<h2 dir="auto">Bug Report</h2>
<p dir="auto"><strong>Current Behavior</strong><br>
I want to use preset-env to transform my code to support low browsers like ie 8, but the <code class="notranslate">bundle</code> code does not include the polyfill code.</p>
<p dir="auto"><strong>Input Code</strong></p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="console.log([1, 2, 3, 4].includes(4));

let m = new Map([[1, 2], [2, 4], [4, 8]]);
console.log(Array.from(m));
"><pre class="notranslate"><code class="notranslate">console.log([1, 2, 3, 4].includes(4));

let m = new Map([[1, 2], [2, 4], [4, 8]]);
console.log(Array.from(m));

</code></pre></div>
<p dir="auto"><strong>output</strong></p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="(function (global, factory) {
	typeof exports === 'object' &amp;&amp; typeof module !== 'undefined' ? factory() :
	typeof define === 'function' &amp;&amp; define.amd ? define(factory) :
	(factory());
}(this, (function () { 'use strict';

	console.log([1, 2, 3, 4].includes(4));

	var m = new Map([[1, 2], [2, 4], [4, 8]]);
	console.log(Array.from(m));

})));"><pre class="notranslate"><code class="notranslate">(function (global, factory) {
	typeof exports === 'object' &amp;&amp; typeof module !== 'undefined' ? factory() :
	typeof define === 'function' &amp;&amp; define.amd ? define(factory) :
	(factory());
}(this, (function () { 'use strict';

	console.log([1, 2, 3, 4].includes(4));

	var m = new Map([[1, 2], [2, 4], [4, 8]]);
	console.log(Array.from(m));

})));
</code></pre></div>
<p dir="auto"><strong>Config info</strong><br>
package.json</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="{
    &quot;name&quot;: &quot;rollupexample&quot;,
    &quot;version&quot;: &quot;1.0.0&quot;,
    &quot;description&quot;: &quot;&quot;,
    &quot;main&quot;: &quot;index.js&quot;,
    &quot;scripts&quot;: {
        &quot;build&quot;: &quot;rollup --config ./rollup.config.js&quot;,
        &quot;test&quot;: &quot;echo \&quot;Error: no test specified\&quot; &amp;&amp; exit 1&quot;
    },
    &quot;dependencies&quot;: {
        &quot;babel-polyfill&quot;: &quot;^6.26.0&quot;
    },
    &quot;devDependencies&quot;: {
        &quot;babel-preset-env&quot;: &quot;^1.7.0&quot;,
        &quot;rollup&quot;: &quot;^0.65.0&quot;,
        &quot;rollup-plugin-babel&quot;: &quot;^2.7.1&quot;
    },
    &quot;author&quot;: &quot;&quot;,
    &quot;license&quot;: &quot;ISC&quot;
}
"><pre class="notranslate"><code class="notranslate">{
    "name": "rollupexample",
    "version": "1.0.0",
    "description": "",
    "main": "index.js",
    "scripts": {
        "build": "rollup --config ./rollup.config.js",
        "test": "echo \"Error: no test specified\" &amp;&amp; exit 1"
    },
    "dependencies": {
        "babel-polyfill": "^6.26.0"
    },
    "devDependencies": {
        "babel-preset-env": "^1.7.0",
        "rollup": "^0.65.0",
        "rollup-plugin-babel": "^2.7.1"
    },
    "author": "",
    "license": "ISC"
}

</code></pre></div>
<p dir="auto">rollup.config.js</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="
import babel from 'rollup-plugin-babel';

export default [
    {
        input: 'index.js',
        output: {
            file: 'bundle.js',
            format: 'umd',
            name: 'lib'
        },
        plugins: [
            babel({
                babelrc: false,
                exclude: ['node_modules/**'],
                presets: [
                    [
                        'env',
                        {
                            targets: {
                                browsers: [
                                    'ios &gt; 8',
                                    'android &gt; 4.2',
                                    'and_chr &gt; 38',
                                    'and_ff &gt; 56',
                                    'and_qq &gt; 1.1',
                                    'and_uc &gt; 9',
                                    'ie_mob &gt; 10',
                                    'ie &gt;= 7'
                                ]
                            },
                            loose: true,
                            modules: false,
                            useBuiltIns: 'usage',
                            debug: true
                        }
                    ]
                ]
            })
        ]
    }
];"><pre class="notranslate"><code class="notranslate">
import babel from 'rollup-plugin-babel';

export default [
    {
        input: 'index.js',
        output: {
            file: 'bundle.js',
            format: 'umd',
            name: 'lib'
        },
        plugins: [
            babel({
                babelrc: false,
                exclude: ['node_modules/**'],
                presets: [
                    [
                        'env',
                        {
                            targets: {
                                browsers: [
                                    'ios &gt; 8',
                                    'android &gt; 4.2',
                                    'and_chr &gt; 38',
                                    'and_ff &gt; 56',
                                    'and_qq &gt; 1.1',
                                    'and_uc &gt; 9',
                                    'ie_mob &gt; 10',
                                    'ie &gt;= 7'
                                ]
                            },
                            loose: true,
                            modules: false,
                            useBuiltIns: 'usage',
                            debug: true
                        }
                    ]
                ]
            })
        ]
    }
];
</code></pre></div>
<p dir="auto"><strong>Extra Info</strong><br>
I got this from debug</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="babel-preset-env: `DEBUG` option

Using targets:
{
  &quot;chrome&quot;: &quot;67&quot;,
  &quot;android&quot;: &quot;4.4&quot;,
  &quot;ie&quot;: &quot;7&quot;,
  &quot;ios&quot;: &quot;8.1&quot;
}

Modules transform: false

Using plugins:
  check-es2015-constants {&quot;android&quot;:&quot;4.4&quot;,&quot;ie&quot;:&quot;7&quot;,&quot;ios&quot;:&quot;8.1&quot;}
  transform-es2015-arrow-functions {&quot;android&quot;:&quot;4.4&quot;,&quot;ie&quot;:&quot;7&quot;,&quot;ios&quot;:&quot;8.1&quot;}
  transform-es2015-block-scoped-functions {&quot;android&quot;:&quot;4.4&quot;,&quot;ie&quot;:&quot;7&quot;,&quot;ios&quot;:&quot;8.1&quot;}
  transform-es2015-block-scoping {&quot;android&quot;:&quot;4.4&quot;,&quot;ie&quot;:&quot;7&quot;,&quot;ios&quot;:&quot;8.1&quot;}
  transform-es2015-classes {&quot;android&quot;:&quot;4.4&quot;,&quot;ie&quot;:&quot;7&quot;,&quot;ios&quot;:&quot;8.1&quot;}
  transform-es2015-computed-properties {&quot;android&quot;:&quot;4.4&quot;,&quot;ie&quot;:&quot;7&quot;}
  transform-es2015-destructuring {&quot;android&quot;:&quot;4.4&quot;,&quot;ie&quot;:&quot;7&quot;,&quot;ios&quot;:&quot;8.1&quot;}
  transform-es2015-duplicate-keys {&quot;android&quot;:&quot;4.4&quot;,&quot;ie&quot;:&quot;7&quot;,&quot;ios&quot;:&quot;8.1&quot;}
  transform-es2015-for-of {&quot;android&quot;:&quot;4.4&quot;,&quot;ie&quot;:&quot;7&quot;,&quot;ios&quot;:&quot;8.1&quot;}
  transform-es2015-function-name {&quot;android&quot;:&quot;4.4&quot;,&quot;ie&quot;:&quot;7&quot;,&quot;ios&quot;:&quot;8.1&quot;}
  transform-es2015-literals {&quot;android&quot;:&quot;4.4&quot;,&quot;ie&quot;:&quot;7&quot;,&quot;ios&quot;:&quot;8.1&quot;}
  transform-es2015-object-super {&quot;android&quot;:&quot;4.4&quot;,&quot;ie&quot;:&quot;7&quot;,&quot;ios&quot;:&quot;8.1&quot;}
  transform-es2015-parameters {&quot;android&quot;:&quot;4.4&quot;,&quot;ie&quot;:&quot;7&quot;,&quot;ios&quot;:&quot;8.1&quot;}
  transform-es2015-shorthand-properties {&quot;android&quot;:&quot;4.4&quot;,&quot;ie&quot;:&quot;7&quot;,&quot;ios&quot;:&quot;8.1&quot;}
  transform-es2015-spread {&quot;android&quot;:&quot;4.4&quot;,&quot;ie&quot;:&quot;7&quot;,&quot;ios&quot;:&quot;8.1&quot;}
  transform-es2015-sticky-regex {&quot;android&quot;:&quot;4.4&quot;,&quot;ie&quot;:&quot;7&quot;,&quot;ios&quot;:&quot;8.1&quot;}
  transform-es2015-template-literals {&quot;android&quot;:&quot;4.4&quot;,&quot;ie&quot;:&quot;7&quot;,&quot;ios&quot;:&quot;8.1&quot;}
  transform-es2015-typeof-symbol {&quot;android&quot;:&quot;4.4&quot;,&quot;ie&quot;:&quot;7&quot;,&quot;ios&quot;:&quot;8.1&quot;}
  transform-es2015-unicode-regex {&quot;android&quot;:&quot;4.4&quot;,&quot;ie&quot;:&quot;7&quot;,&quot;ios&quot;:&quot;8.1&quot;}
  transform-regenerator {&quot;android&quot;:&quot;4.4&quot;,&quot;ie&quot;:&quot;7&quot;,&quot;ios&quot;:&quot;8.1&quot;}
  transform-exponentiation-operator {&quot;android&quot;:&quot;4.4&quot;,&quot;ie&quot;:&quot;7&quot;,&quot;ios&quot;:&quot;8.1&quot;}
  transform-async-to-generator {&quot;android&quot;:&quot;4.4&quot;,&quot;ie&quot;:&quot;7&quot;,&quot;ios&quot;:&quot;8.1&quot;}
  syntax-trailing-function-commas {&quot;android&quot;:&quot;4.4&quot;,&quot;ie&quot;:&quot;7&quot;,&quot;ios&quot;:&quot;8.1&quot;}

Using polyfills:
  es6.typed.array-buffer {&quot;android&quot;:&quot;4.4&quot;,&quot;ie&quot;:&quot;7&quot;,&quot;ios&quot;:&quot;8.1&quot;}
  es6.typed.data-view {&quot;ie&quot;:&quot;7&quot;}
  es6.typed.int8-array {&quot;android&quot;:&quot;4.4&quot;,&quot;ie&quot;:&quot;7&quot;,&quot;ios&quot;:&quot;8.1&quot;}
  es6.typed.uint8-array {&quot;android&quot;:&quot;4.4&quot;,&quot;ie&quot;:&quot;7&quot;,&quot;ios&quot;:&quot;8.1&quot;}
  es6.typed.uint8-clamped-array {&quot;android&quot;:&quot;4.4&quot;,&quot;ie&quot;:&quot;7&quot;,&quot;ios&quot;:&quot;8.1&quot;}
  es6.typed.int16-array {&quot;android&quot;:&quot;4.4&quot;,&quot;ie&quot;:&quot;7&quot;,&quot;ios&quot;:&quot;8.1&quot;}
  es6.typed.uint16-array {&quot;android&quot;:&quot;4.4&quot;,&quot;ie&quot;:&quot;7&quot;,&quot;ios&quot;:&quot;8.1&quot;}
  es6.typed.int32-array {&quot;android&quot;:&quot;4.4&quot;,&quot;ie&quot;:&quot;7&quot;,&quot;ios&quot;:&quot;8.1&quot;}
  es6.typed.uint32-array {&quot;android&quot;:&quot;4.4&quot;,&quot;ie&quot;:&quot;7&quot;,&quot;ios&quot;:&quot;8.1&quot;}
  es6.typed.float32-array {&quot;android&quot;:&quot;4.4&quot;,&quot;ie&quot;:&quot;7&quot;,&quot;ios&quot;:&quot;8.1&quot;}
  es6.typed.float64-array {&quot;android&quot;:&quot;4.4&quot;,&quot;ie&quot;:&quot;7&quot;,&quot;ios&quot;:&quot;8.1&quot;}
  es6.map {&quot;android&quot;:&quot;4.4&quot;,&quot;ie&quot;:&quot;7&quot;,&quot;ios&quot;:&quot;8.1&quot;}
  es6.set {&quot;android&quot;:&quot;4.4&quot;,&quot;ie&quot;:&quot;7&quot;,&quot;ios&quot;:&quot;8.1&quot;}
  es6.weak-map {&quot;android&quot;:&quot;4.4&quot;,&quot;ie&quot;:&quot;7&quot;,&quot;ios&quot;:&quot;8.1&quot;}
  es6.weak-set {&quot;android&quot;:&quot;4.4&quot;,&quot;ie&quot;:&quot;7&quot;,&quot;ios&quot;:&quot;8.1&quot;}
  es6.reflect.apply {&quot;android&quot;:&quot;4.4&quot;,&quot;ie&quot;:&quot;7&quot;,&quot;ios&quot;:&quot;8.1&quot;}
  es6.reflect.construct {&quot;android&quot;:&quot;4.4&quot;,&quot;ie&quot;:&quot;7&quot;,&quot;ios&quot;:&quot;8.1&quot;}
  es6.reflect.define-property {&quot;android&quot;:&quot;4.4&quot;,&quot;ie&quot;:&quot;7&quot;,&quot;ios&quot;:&quot;8.1&quot;}
  es6.reflect.delete-property {&quot;android&quot;:&quot;4.4&quot;,&quot;ie&quot;:&quot;7&quot;,&quot;ios&quot;:&quot;8.1&quot;}
  es6.reflect.get {&quot;android&quot;:&quot;4.4&quot;,&quot;ie&quot;:&quot;7&quot;,&quot;ios&quot;:&quot;8.1&quot;}
  es6.reflect.get-own-property-descriptor {&quot;android&quot;:&quot;4.4&quot;,&quot;ie&quot;:&quot;7&quot;,&quot;ios&quot;:&quot;8.1&quot;}
  es6.reflect.get-prototype-of {&quot;android&quot;:&quot;4.4&quot;,&quot;ie&quot;:&quot;7&quot;,&quot;ios&quot;:&quot;8.1&quot;}
  es6.reflect.has {&quot;android&quot;:&quot;4.4&quot;,&quot;ie&quot;:&quot;7&quot;,&quot;ios&quot;:&quot;8.1&quot;}
  es6.reflect.is-extensible {&quot;android&quot;:&quot;4.4&quot;,&quot;ie&quot;:&quot;7&quot;,&quot;ios&quot;:&quot;8.1&quot;}
  es6.reflect.own-keys {&quot;android&quot;:&quot;4.4&quot;,&quot;ie&quot;:&quot;7&quot;,&quot;ios&quot;:&quot;8.1&quot;}
  es6.reflect.prevent-extensions {&quot;android&quot;:&quot;4.4&quot;,&quot;ie&quot;:&quot;7&quot;,&quot;ios&quot;:&quot;8.1&quot;}
  es6.reflect.set {&quot;android&quot;:&quot;4.4&quot;,&quot;ie&quot;:&quot;7&quot;,&quot;ios&quot;:&quot;8.1&quot;}
  es6.reflect.set-prototype-of {&quot;android&quot;:&quot;4.4&quot;,&quot;ie&quot;:&quot;7&quot;,&quot;ios&quot;:&quot;8.1&quot;}
  es6.promise {&quot;android&quot;:&quot;4.4&quot;,&quot;ie&quot;:&quot;7&quot;,&quot;ios&quot;:&quot;8.1&quot;}
  es6.symbol {&quot;android&quot;:&quot;4.4&quot;,&quot;ie&quot;:&quot;7&quot;,&quot;ios&quot;:&quot;8.1&quot;}
  es6.object.freeze {&quot;android&quot;:&quot;4.4&quot;,&quot;ie&quot;:&quot;7&quot;,&quot;ios&quot;:&quot;8.1&quot;}
  es6.object.seal {&quot;android&quot;:&quot;4.4&quot;,&quot;ie&quot;:&quot;7&quot;,&quot;ios&quot;:&quot;8.1&quot;}
  es6.object.prevent-extensions {&quot;android&quot;:&quot;4.4&quot;,&quot;ie&quot;:&quot;7&quot;,&quot;ios&quot;:&quot;8.1&quot;}
  es6.object.is-frozen {&quot;android&quot;:&quot;4.4&quot;,&quot;ie&quot;:&quot;7&quot;,&quot;ios&quot;:&quot;8.1&quot;}
  es6.object.is-sealed {&quot;android&quot;:&quot;4.4&quot;,&quot;ie&quot;:&quot;7&quot;,&quot;ios&quot;:&quot;8.1&quot;}
  es6.object.is-extensible {&quot;android&quot;:&quot;4.4&quot;,&quot;ie&quot;:&quot;7&quot;,&quot;ios&quot;:&quot;8.1&quot;}
  es6.object.get-own-property-descriptor {&quot;android&quot;:&quot;4.4&quot;,&quot;ie&quot;:&quot;7&quot;,&quot;ios&quot;:&quot;8.1&quot;}
  es6.object.get-prototype-of {&quot;android&quot;:&quot;4.4&quot;,&quot;ie&quot;:&quot;7&quot;,&quot;ios&quot;:&quot;8.1&quot;}
  es6.object.keys {&quot;android&quot;:&quot;4.4&quot;,&quot;ie&quot;:&quot;7&quot;,&quot;ios&quot;:&quot;8.1&quot;}
  es6.object.get-own-property-names {&quot;android&quot;:&quot;4.4&quot;,&quot;ie&quot;:&quot;7&quot;,&quot;ios&quot;:&quot;8.1&quot;}
  es6.object.assign {&quot;android&quot;:&quot;4.4&quot;,&quot;ie&quot;:&quot;7&quot;,&quot;ios&quot;:&quot;8.1&quot;}
  es6.object.is {&quot;ie&quot;:&quot;7&quot;,&quot;ios&quot;:&quot;8.1&quot;}
  es6.object.set-prototype-of {&quot;android&quot;:&quot;4.4&quot;,&quot;ie&quot;:&quot;7&quot;,&quot;ios&quot;:&quot;8.1&quot;}
  es6.function.name {&quot;android&quot;:&quot;4.4&quot;,&quot;ie&quot;:&quot;7&quot;,&quot;ios&quot;:&quot;8.1&quot;}
  es6.string.raw {&quot;android&quot;:&quot;4.4&quot;,&quot;ie&quot;:&quot;7&quot;,&quot;ios&quot;:&quot;8.1&quot;}
  es6.string.from-code-point {&quot;android&quot;:&quot;4.4&quot;,&quot;ie&quot;:&quot;7&quot;,&quot;ios&quot;:&quot;8.1&quot;}
  es6.string.code-point-at {&quot;android&quot;:&quot;4.4&quot;,&quot;ie&quot;:&quot;7&quot;,&quot;ios&quot;:&quot;8.1&quot;}
  es6.string.repeat {&quot;android&quot;:&quot;4.4&quot;,&quot;ie&quot;:&quot;7&quot;,&quot;ios&quot;:&quot;8.1&quot;}
  es6.string.starts-with {&quot;android&quot;:&quot;4.4&quot;,&quot;ie&quot;:&quot;7&quot;,&quot;ios&quot;:&quot;8.1&quot;}
  es6.string.ends-with {&quot;android&quot;:&quot;4.4&quot;,&quot;ie&quot;:&quot;7&quot;,&quot;ios&quot;:&quot;8.1&quot;}
  es6.string.includes {&quot;android&quot;:&quot;4.4&quot;,&quot;ie&quot;:&quot;7&quot;,&quot;ios&quot;:&quot;8.1&quot;}
  es6.regexp.flags {&quot;android&quot;:&quot;4.4&quot;,&quot;ie&quot;:&quot;7&quot;,&quot;ios&quot;:&quot;8.1&quot;}
  es6.regexp.match {&quot;android&quot;:&quot;4.4&quot;,&quot;ie&quot;:&quot;7&quot;,&quot;ios&quot;:&quot;8.1&quot;}
  es6.regexp.replace {&quot;android&quot;:&quot;4.4&quot;,&quot;ie&quot;:&quot;7&quot;,&quot;ios&quot;:&quot;8.1&quot;}
  es6.regexp.split {&quot;android&quot;:&quot;4.4&quot;,&quot;ie&quot;:&quot;7&quot;,&quot;ios&quot;:&quot;8.1&quot;}
  es6.regexp.search {&quot;android&quot;:&quot;4.4&quot;,&quot;ie&quot;:&quot;7&quot;,&quot;ios&quot;:&quot;8.1&quot;}
  es6.array.from {&quot;android&quot;:&quot;4.4&quot;,&quot;ie&quot;:&quot;7&quot;,&quot;ios&quot;:&quot;8.1&quot;}
  es6.array.of {&quot;android&quot;:&quot;4.4&quot;,&quot;ie&quot;:&quot;7&quot;,&quot;ios&quot;:&quot;8.1&quot;}
  es6.array.copy-within {&quot;android&quot;:&quot;4.4&quot;,&quot;ie&quot;:&quot;7&quot;,&quot;ios&quot;:&quot;8.1&quot;}
  es6.array.find {&quot;android&quot;:&quot;4.4&quot;,&quot;ie&quot;:&quot;7&quot;}
  es6.array.find-index {&quot;android&quot;:&quot;4.4&quot;,&quot;ie&quot;:&quot;7&quot;}
  es6.array.fill {&quot;android&quot;:&quot;4.4&quot;,&quot;ie&quot;:&quot;7&quot;}
  es6.array.iterator {&quot;android&quot;:&quot;4.4&quot;,&quot;ie&quot;:&quot;7&quot;}
  es6.number.is-finite {&quot;ie&quot;:&quot;7&quot;,&quot;ios&quot;:&quot;8.1&quot;}
  es6.number.is-integer {&quot;android&quot;:&quot;4.4&quot;,&quot;ie&quot;:&quot;7&quot;,&quot;ios&quot;:&quot;8.1&quot;}
  es6.number.is-safe-integer {&quot;android&quot;:&quot;4.4&quot;,&quot;ie&quot;:&quot;7&quot;,&quot;ios&quot;:&quot;8.1&quot;}
  es6.number.is-nan {&quot;ie&quot;:&quot;7&quot;,&quot;ios&quot;:&quot;8.1&quot;}
  es6.number.epsilon {&quot;android&quot;:&quot;4.4&quot;,&quot;ie&quot;:&quot;7&quot;,&quot;ios&quot;:&quot;8.1&quot;}
  es6.number.min-safe-integer {&quot;android&quot;:&quot;4.4&quot;,&quot;ie&quot;:&quot;7&quot;,&quot;ios&quot;:&quot;8.1&quot;}
  es6.number.max-safe-integer {&quot;android&quot;:&quot;4.4&quot;,&quot;ie&quot;:&quot;7&quot;,&quot;ios&quot;:&quot;8.1&quot;}
  es6.math.acosh {&quot;android&quot;:&quot;4.4&quot;,&quot;ie&quot;:&quot;7&quot;}
  es6.math.asinh {&quot;android&quot;:&quot;4.4&quot;,&quot;ie&quot;:&quot;7&quot;}
  es6.math.atanh {&quot;android&quot;:&quot;4.4&quot;,&quot;ie&quot;:&quot;7&quot;}
  es6.math.cbrt {&quot;android&quot;:&quot;4.4&quot;,&quot;ie&quot;:&quot;7&quot;}
  es6.math.clz32 {&quot;android&quot;:&quot;4.4&quot;,&quot;ie&quot;:&quot;7&quot;,&quot;ios&quot;:&quot;8.1&quot;}
  es6.math.cosh {&quot;android&quot;:&quot;4.4&quot;,&quot;ie&quot;:&quot;7&quot;}
  es6.math.expm1 {&quot;android&quot;:&quot;4.4&quot;,&quot;ie&quot;:&quot;7&quot;}
  es6.math.fround {&quot;android&quot;:&quot;4.4&quot;,&quot;ie&quot;:&quot;7&quot;}
  es6.math.hypot {&quot;android&quot;:&quot;4.4&quot;,&quot;ie&quot;:&quot;7&quot;}
  es6.math.imul {&quot;ie&quot;:&quot;7&quot;}
  es6.math.log1p {&quot;android&quot;:&quot;4.4&quot;,&quot;ie&quot;:&quot;7&quot;}
  es6.math.log10 {&quot;android&quot;:&quot;4.4&quot;,&quot;ie&quot;:&quot;7&quot;}
  es6.math.log2 {&quot;android&quot;:&quot;4.4&quot;,&quot;ie&quot;:&quot;7&quot;}
  es6.math.sign {&quot;android&quot;:&quot;4.4&quot;,&quot;ie&quot;:&quot;7&quot;,&quot;ios&quot;:&quot;8.1&quot;}
  es6.math.sinh {&quot;android&quot;:&quot;4.4&quot;,&quot;ie&quot;:&quot;7&quot;}
  es6.math.tanh {&quot;android&quot;:&quot;4.4&quot;,&quot;ie&quot;:&quot;7&quot;}
  es6.math.trunc {&quot;android&quot;:&quot;4.4&quot;,&quot;ie&quot;:&quot;7&quot;}
  es7.array.includes {&quot;android&quot;:&quot;4.4&quot;,&quot;ie&quot;:&quot;7&quot;,&quot;ios&quot;:&quot;8.1&quot;}
  es7.object.values {&quot;android&quot;:&quot;4.4&quot;,&quot;ie&quot;:&quot;7&quot;,&quot;ios&quot;:&quot;8.1&quot;}
  es7.object.entries {&quot;android&quot;:&quot;4.4&quot;,&quot;ie&quot;:&quot;7&quot;,&quot;ios&quot;:&quot;8.1&quot;}
  es7.object.get-own-property-descriptors {&quot;android&quot;:&quot;4.4&quot;,&quot;ie&quot;:&quot;7&quot;,&quot;ios&quot;:&quot;8.1&quot;}
  es7.string.pad-start {&quot;android&quot;:&quot;4.4&quot;,&quot;ie&quot;:&quot;7&quot;,&quot;ios&quot;:&quot;8.1&quot;}
  es7.string.pad-end {&quot;android&quot;:&quot;4.4&quot;,&quot;ie&quot;:&quot;7&quot;,&quot;ios&quot;:&quot;8.1&quot;}
  web.timers {&quot;chrome&quot;:&quot;67&quot;,&quot;android&quot;:&quot;4.4&quot;,&quot;ie&quot;:&quot;7&quot;,&quot;ios&quot;:&quot;8.1&quot;}
  web.immediate {&quot;chrome&quot;:&quot;67&quot;,&quot;android&quot;:&quot;4.4&quot;,&quot;ie&quot;:&quot;7&quot;,&quot;ios&quot;:&quot;8.1&quot;}
  web.dom.iterable {&quot;chrome&quot;:&quot;67&quot;,&quot;android&quot;:&quot;4.4&quot;,&quot;ie&quot;:&quot;7&quot;,&quot;ios&quot;:&quot;8.1&quot;}"><pre class="notranslate"><code class="notranslate">babel-preset-env: `DEBUG` option

Using targets:
{
  "chrome": "67",
  "android": "4.4",
  "ie": "7",
  "ios": "8.1"
}

Modules transform: false

Using plugins:
  check-es2015-constants {"android":"4.4","ie":"7","ios":"8.1"}
  transform-es2015-arrow-functions {"android":"4.4","ie":"7","ios":"8.1"}
  transform-es2015-block-scoped-functions {"android":"4.4","ie":"7","ios":"8.1"}
  transform-es2015-block-scoping {"android":"4.4","ie":"7","ios":"8.1"}
  transform-es2015-classes {"android":"4.4","ie":"7","ios":"8.1"}
  transform-es2015-computed-properties {"android":"4.4","ie":"7"}
  transform-es2015-destructuring {"android":"4.4","ie":"7","ios":"8.1"}
  transform-es2015-duplicate-keys {"android":"4.4","ie":"7","ios":"8.1"}
  transform-es2015-for-of {"android":"4.4","ie":"7","ios":"8.1"}
  transform-es2015-function-name {"android":"4.4","ie":"7","ios":"8.1"}
  transform-es2015-literals {"android":"4.4","ie":"7","ios":"8.1"}
  transform-es2015-object-super {"android":"4.4","ie":"7","ios":"8.1"}
  transform-es2015-parameters {"android":"4.4","ie":"7","ios":"8.1"}
  transform-es2015-shorthand-properties {"android":"4.4","ie":"7","ios":"8.1"}
  transform-es2015-spread {"android":"4.4","ie":"7","ios":"8.1"}
  transform-es2015-sticky-regex {"android":"4.4","ie":"7","ios":"8.1"}
  transform-es2015-template-literals {"android":"4.4","ie":"7","ios":"8.1"}
  transform-es2015-typeof-symbol {"android":"4.4","ie":"7","ios":"8.1"}
  transform-es2015-unicode-regex {"android":"4.4","ie":"7","ios":"8.1"}
  transform-regenerator {"android":"4.4","ie":"7","ios":"8.1"}
  transform-exponentiation-operator {"android":"4.4","ie":"7","ios":"8.1"}
  transform-async-to-generator {"android":"4.4","ie":"7","ios":"8.1"}
  syntax-trailing-function-commas {"android":"4.4","ie":"7","ios":"8.1"}

Using polyfills:
  es6.typed.array-buffer {"android":"4.4","ie":"7","ios":"8.1"}
  es6.typed.data-view {"ie":"7"}
  es6.typed.int8-array {"android":"4.4","ie":"7","ios":"8.1"}
  es6.typed.uint8-array {"android":"4.4","ie":"7","ios":"8.1"}
  es6.typed.uint8-clamped-array {"android":"4.4","ie":"7","ios":"8.1"}
  es6.typed.int16-array {"android":"4.4","ie":"7","ios":"8.1"}
  es6.typed.uint16-array {"android":"4.4","ie":"7","ios":"8.1"}
  es6.typed.int32-array {"android":"4.4","ie":"7","ios":"8.1"}
  es6.typed.uint32-array {"android":"4.4","ie":"7","ios":"8.1"}
  es6.typed.float32-array {"android":"4.4","ie":"7","ios":"8.1"}
  es6.typed.float64-array {"android":"4.4","ie":"7","ios":"8.1"}
  es6.map {"android":"4.4","ie":"7","ios":"8.1"}
  es6.set {"android":"4.4","ie":"7","ios":"8.1"}
  es6.weak-map {"android":"4.4","ie":"7","ios":"8.1"}
  es6.weak-set {"android":"4.4","ie":"7","ios":"8.1"}
  es6.reflect.apply {"android":"4.4","ie":"7","ios":"8.1"}
  es6.reflect.construct {"android":"4.4","ie":"7","ios":"8.1"}
  es6.reflect.define-property {"android":"4.4","ie":"7","ios":"8.1"}
  es6.reflect.delete-property {"android":"4.4","ie":"7","ios":"8.1"}
  es6.reflect.get {"android":"4.4","ie":"7","ios":"8.1"}
  es6.reflect.get-own-property-descriptor {"android":"4.4","ie":"7","ios":"8.1"}
  es6.reflect.get-prototype-of {"android":"4.4","ie":"7","ios":"8.1"}
  es6.reflect.has {"android":"4.4","ie":"7","ios":"8.1"}
  es6.reflect.is-extensible {"android":"4.4","ie":"7","ios":"8.1"}
  es6.reflect.own-keys {"android":"4.4","ie":"7","ios":"8.1"}
  es6.reflect.prevent-extensions {"android":"4.4","ie":"7","ios":"8.1"}
  es6.reflect.set {"android":"4.4","ie":"7","ios":"8.1"}
  es6.reflect.set-prototype-of {"android":"4.4","ie":"7","ios":"8.1"}
  es6.promise {"android":"4.4","ie":"7","ios":"8.1"}
  es6.symbol {"android":"4.4","ie":"7","ios":"8.1"}
  es6.object.freeze {"android":"4.4","ie":"7","ios":"8.1"}
  es6.object.seal {"android":"4.4","ie":"7","ios":"8.1"}
  es6.object.prevent-extensions {"android":"4.4","ie":"7","ios":"8.1"}
  es6.object.is-frozen {"android":"4.4","ie":"7","ios":"8.1"}
  es6.object.is-sealed {"android":"4.4","ie":"7","ios":"8.1"}
  es6.object.is-extensible {"android":"4.4","ie":"7","ios":"8.1"}
  es6.object.get-own-property-descriptor {"android":"4.4","ie":"7","ios":"8.1"}
  es6.object.get-prototype-of {"android":"4.4","ie":"7","ios":"8.1"}
  es6.object.keys {"android":"4.4","ie":"7","ios":"8.1"}
  es6.object.get-own-property-names {"android":"4.4","ie":"7","ios":"8.1"}
  es6.object.assign {"android":"4.4","ie":"7","ios":"8.1"}
  es6.object.is {"ie":"7","ios":"8.1"}
  es6.object.set-prototype-of {"android":"4.4","ie":"7","ios":"8.1"}
  es6.function.name {"android":"4.4","ie":"7","ios":"8.1"}
  es6.string.raw {"android":"4.4","ie":"7","ios":"8.1"}
  es6.string.from-code-point {"android":"4.4","ie":"7","ios":"8.1"}
  es6.string.code-point-at {"android":"4.4","ie":"7","ios":"8.1"}
  es6.string.repeat {"android":"4.4","ie":"7","ios":"8.1"}
  es6.string.starts-with {"android":"4.4","ie":"7","ios":"8.1"}
  es6.string.ends-with {"android":"4.4","ie":"7","ios":"8.1"}
  es6.string.includes {"android":"4.4","ie":"7","ios":"8.1"}
  es6.regexp.flags {"android":"4.4","ie":"7","ios":"8.1"}
  es6.regexp.match {"android":"4.4","ie":"7","ios":"8.1"}
  es6.regexp.replace {"android":"4.4","ie":"7","ios":"8.1"}
  es6.regexp.split {"android":"4.4","ie":"7","ios":"8.1"}
  es6.regexp.search {"android":"4.4","ie":"7","ios":"8.1"}
  es6.array.from {"android":"4.4","ie":"7","ios":"8.1"}
  es6.array.of {"android":"4.4","ie":"7","ios":"8.1"}
  es6.array.copy-within {"android":"4.4","ie":"7","ios":"8.1"}
  es6.array.find {"android":"4.4","ie":"7"}
  es6.array.find-index {"android":"4.4","ie":"7"}
  es6.array.fill {"android":"4.4","ie":"7"}
  es6.array.iterator {"android":"4.4","ie":"7"}
  es6.number.is-finite {"ie":"7","ios":"8.1"}
  es6.number.is-integer {"android":"4.4","ie":"7","ios":"8.1"}
  es6.number.is-safe-integer {"android":"4.4","ie":"7","ios":"8.1"}
  es6.number.is-nan {"ie":"7","ios":"8.1"}
  es6.number.epsilon {"android":"4.4","ie":"7","ios":"8.1"}
  es6.number.min-safe-integer {"android":"4.4","ie":"7","ios":"8.1"}
  es6.number.max-safe-integer {"android":"4.4","ie":"7","ios":"8.1"}
  es6.math.acosh {"android":"4.4","ie":"7"}
  es6.math.asinh {"android":"4.4","ie":"7"}
  es6.math.atanh {"android":"4.4","ie":"7"}
  es6.math.cbrt {"android":"4.4","ie":"7"}
  es6.math.clz32 {"android":"4.4","ie":"7","ios":"8.1"}
  es6.math.cosh {"android":"4.4","ie":"7"}
  es6.math.expm1 {"android":"4.4","ie":"7"}
  es6.math.fround {"android":"4.4","ie":"7"}
  es6.math.hypot {"android":"4.4","ie":"7"}
  es6.math.imul {"ie":"7"}
  es6.math.log1p {"android":"4.4","ie":"7"}
  es6.math.log10 {"android":"4.4","ie":"7"}
  es6.math.log2 {"android":"4.4","ie":"7"}
  es6.math.sign {"android":"4.4","ie":"7","ios":"8.1"}
  es6.math.sinh {"android":"4.4","ie":"7"}
  es6.math.tanh {"android":"4.4","ie":"7"}
  es6.math.trunc {"android":"4.4","ie":"7"}
  es7.array.includes {"android":"4.4","ie":"7","ios":"8.1"}
  es7.object.values {"android":"4.4","ie":"7","ios":"8.1"}
  es7.object.entries {"android":"4.4","ie":"7","ios":"8.1"}
  es7.object.get-own-property-descriptors {"android":"4.4","ie":"7","ios":"8.1"}
  es7.string.pad-start {"android":"4.4","ie":"7","ios":"8.1"}
  es7.string.pad-end {"android":"4.4","ie":"7","ios":"8.1"}
  web.timers {"chrome":"67","android":"4.4","ie":"7","ios":"8.1"}
  web.immediate {"chrome":"67","android":"4.4","ie":"7","ios":"8.1"}
  web.dom.iterable {"chrome":"67","android":"4.4","ie":"7","ios":"8.1"}
</code></pre></div>
<p dir="auto"><strong>Environment</strong></p>
<ul dir="auto">
<li>Babel version(s): [babel-core@6.26.3]</li>
<li>Node/npm version: [v10.3.0 / 6.1.0]</li>
<li>OS: [OSX 12]</li>
<li>How you are using Babel: [<code class="notranslate">loader</code>]</li>
</ul>
<h2 dir="auto">Bug Report</h2>
<p dir="auto"><a href="https://nodejs.org/api/esm.html#esm_mandatory_file_extensions" rel="nofollow">File extensions are required in import statements in ES Modules.</a></p>
<p dir="auto">But files within <code class="notranslate">@babel/runtime/helpers/esm</code> (which are treated as ES Modules because <code class="notranslate">@babel/runtime/helpers/esm/package.json</code> contains <code class="notranslate">type: "module"</code>) don't use extensions in their import statements.</p>

<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I would like to work on a fix!</li>
</ul>

<p dir="auto"><strong>Current behavior</strong></p>

<p dir="auto">I'm getting this correct error with Webpack 5:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="ERROR in ./node_modules/@babel/runtime/helpers/esm/get.js 1:0-44
Module not found: Error: Can't resolve './superPropBase' in '/Users/andy/clarity/node_modules/@babel/runtime/helpers/esm'
Did you mean 'superPropBase.js'?
BREAKING CHANGE: The request './superPropBase' failed to resolve only because it was resolved as fully specified
(probably because the origin is a '*.mjs' file or a '*.js' file where the package.json contains '&quot;type&quot;: &quot;module&quot;').
The extension in the request is mandatory for it to be fully specified.
Add the extension to the request."><pre class="notranslate"><code class="notranslate">ERROR in ./node_modules/@babel/runtime/helpers/esm/get.js 1:0-44
Module not found: Error: Can't resolve './superPropBase' in '/Users/andy/clarity/node_modules/@babel/runtime/helpers/esm'
Did you mean 'superPropBase.js'?
BREAKING CHANGE: The request './superPropBase' failed to resolve only because it was resolved as fully specified
(probably because the origin is a '*.mjs' file or a '*.js' file where the package.json contains '"type": "module"').
The extension in the request is mandatory for it to be fully specified.
Add the extension to the request.
</code></pre></div>
<p dir="auto">This is because the first line of <code class="notranslate">@babel/runtime/helpers/esm/get.js</code> is an import without an extension:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import superPropBase from &quot;./superPropBase&quot;;"><pre class="notranslate"><code class="notranslate">import superPropBase from "./superPropBase";
</code></pre></div>
<p dir="auto"><strong>Input Code</strong></p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="var your =&gt; (code) =&gt; here;"><pre class="notranslate"><span class="pl-k">var</span> <span class="pl-s1">your</span> <span class="pl-c1">=&gt;</span> <span class="pl-kos">(</span><span class="pl-s1">code</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-s1">here</span><span class="pl-kos">;</span></pre></div>
<p dir="auto"><strong>Expected behavior</strong></p>

<p dir="auto">No problems using <code class="notranslate">@babel/plugin-transform-runtime</code> with <code class="notranslate">useESModules: true</code></p>
<p dir="auto"><strong>Babel Configuration</strong></p>
<ul dir="auto">
<li>Filename: (babel config inlined in babel-loader webpack config)</li>
</ul>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="{
  presets: [
    ['@babel/preset-env', {targets: {browsers: 'last 2 versions'}}],
  ],
  plugins: [
    [
      '@babel/plugin-transform-runtime',
      {
        useESModules: true,
      },
    ],
  ]
}"><pre class="notranslate"><span class="pl-kos">{</span>
  <span class="pl-c1">presets</span>: <span class="pl-kos">[</span>
    <span class="pl-kos">[</span><span class="pl-s">'@babel/preset-env'</span><span class="pl-kos">,</span> <span class="pl-kos">{</span><span class="pl-c1">targets</span>: <span class="pl-kos">{</span><span class="pl-c1">browsers</span>: <span class="pl-s">'last 2 versions'</span><span class="pl-kos">}</span><span class="pl-kos">}</span><span class="pl-kos">]</span><span class="pl-kos">,</span>
  <span class="pl-kos">]</span><span class="pl-kos">,</span>
  <span class="pl-c1">plugins</span>: <span class="pl-kos">[</span>
    <span class="pl-kos">[</span>
      <span class="pl-s">'@babel/plugin-transform-runtime'</span><span class="pl-kos">,</span>
      <span class="pl-kos">{</span>
        <span class="pl-c1">useESModules</span>: <span class="pl-c1">true</span><span class="pl-kos">,</span>
      <span class="pl-kos">}</span><span class="pl-kos">,</span>
    <span class="pl-kos">]</span><span class="pl-kos">,</span>
  <span class="pl-kos">]</span>
<span class="pl-kos">}</span></pre></div>
<p dir="auto"><strong>Environment</strong></p>

<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=""><pre class="notranslate"><code class="notranslate">
</code></pre></div>
<ul dir="auto">
<li><code class="notranslate">@babel/runtime</code>: 7.11.2</li>
<li><code class="notranslate">@babel/plugin-transform-runtime</code>: 7.11.5</li>
<li><code class="notranslate">webpack</code>: 5.0.0-rc.4</li>
<li><code class="notranslate">babel-loader</code>: 8.1.0</li>
</ul>
<p dir="auto"><strong>Possible Solution</strong></p>

<p dir="auto">Use full extensions in imports inside <code class="notranslate">@babel/runtime/helpers/esm</code>, so I don't get these errors, for example:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import superPropBase from &quot;./superPropBase.js&quot;;"><pre class="notranslate"><code class="notranslate">import superPropBase from "./superPropBase.js";
</code></pre></div>