Adam Ramberg fcb77de901 [preset-env] Include / exclude module plugins properly (#10218)
* Include / exclude module plugins properly

* Use filter-items to excl / incl module plugins

* Move transform selection to getModulesPluginNames

* Remove unnecessary spread operator

Co-Authored-By: Nicolò Ribaudo <nicolo.ribaudo@gmail.com>

* Adjust tests to changes in #10218
2019-09-05 15:58:29 +02:00

104 lines
3.9 KiB
Plaintext

@babel/preset-env: `DEBUG` option
Using targets:
{
"chrome": "71"
}
Using modules transform: auto
Using plugins:
syntax-async-generators { "chrome":"71" }
syntax-object-rest-spread { "chrome":"71" }
syntax-json-strings { "chrome":"71" }
syntax-optional-catch-binding { "chrome":"71" }
transform-modules-commonjs { "chrome":"71" }
proposal-dynamic-import { "chrome":"71" }
Using polyfills with `entry` option:
[<CWD>/src/in.js] Replaced core-js entries with the following polyfills:
esnext.aggregate-error { "chrome":"71" }
esnext.array.last-index { "chrome":"71" }
esnext.array.last-item { "chrome":"71" }
esnext.composite-key { "chrome":"71" }
esnext.composite-symbol { "chrome":"71" }
esnext.map.delete-all { "chrome":"71" }
esnext.map.every { "chrome":"71" }
esnext.map.filter { "chrome":"71" }
esnext.map.find { "chrome":"71" }
esnext.map.find-key { "chrome":"71" }
esnext.map.from { "chrome":"71" }
esnext.map.group-by { "chrome":"71" }
esnext.map.includes { "chrome":"71" }
esnext.map.key-by { "chrome":"71" }
esnext.map.key-of { "chrome":"71" }
esnext.map.map-keys { "chrome":"71" }
esnext.map.map-values { "chrome":"71" }
esnext.map.merge { "chrome":"71" }
esnext.map.of { "chrome":"71" }
esnext.map.reduce { "chrome":"71" }
esnext.map.some { "chrome":"71" }
esnext.map.update { "chrome":"71" }
esnext.math.clamp { "chrome":"71" }
esnext.math.deg-per-rad { "chrome":"71" }
esnext.math.degrees { "chrome":"71" }
esnext.math.fscale { "chrome":"71" }
esnext.math.iaddh { "chrome":"71" }
esnext.math.imulh { "chrome":"71" }
esnext.math.isubh { "chrome":"71" }
esnext.math.rad-per-deg { "chrome":"71" }
esnext.math.radians { "chrome":"71" }
esnext.math.scale { "chrome":"71" }
esnext.math.seeded-prng { "chrome":"71" }
esnext.math.signbit { "chrome":"71" }
esnext.math.umulh { "chrome":"71" }
esnext.number.from-string { "chrome":"71" }
esnext.observable { "chrome":"71" }
esnext.promise.all-settled { "chrome":"71" }
esnext.promise.any { "chrome":"71" }
esnext.promise.try { "chrome":"71" }
esnext.reflect.define-metadata { "chrome":"71" }
esnext.reflect.delete-metadata { "chrome":"71" }
esnext.reflect.get-metadata { "chrome":"71" }
esnext.reflect.get-metadata-keys { "chrome":"71" }
esnext.reflect.get-own-metadata { "chrome":"71" }
esnext.reflect.get-own-metadata-keys { "chrome":"71" }
esnext.reflect.has-metadata { "chrome":"71" }
esnext.reflect.has-own-metadata { "chrome":"71" }
esnext.reflect.metadata { "chrome":"71" }
esnext.set.add-all { "chrome":"71" }
esnext.set.delete-all { "chrome":"71" }
esnext.set.difference { "chrome":"71" }
esnext.set.every { "chrome":"71" }
esnext.set.filter { "chrome":"71" }
esnext.set.find { "chrome":"71" }
esnext.set.from { "chrome":"71" }
esnext.set.intersection { "chrome":"71" }
esnext.set.is-disjoint-from { "chrome":"71" }
esnext.set.is-subset-of { "chrome":"71" }
esnext.set.is-superset-of { "chrome":"71" }
esnext.set.join { "chrome":"71" }
esnext.set.map { "chrome":"71" }
esnext.set.of { "chrome":"71" }
esnext.set.reduce { "chrome":"71" }
esnext.set.some { "chrome":"71" }
esnext.set.symmetric-difference { "chrome":"71" }
esnext.set.union { "chrome":"71" }
esnext.string.at { "chrome":"71" }
esnext.string.code-points { "chrome":"71" }
esnext.string.match-all { "chrome":"71" }
esnext.string.replace-all { "chrome":"71" }
esnext.symbol.dispose { "chrome":"71" }
esnext.symbol.observable { "chrome":"71" }
esnext.symbol.pattern-match { "chrome":"71" }
esnext.weak-map.delete-all { "chrome":"71" }
esnext.weak-map.from { "chrome":"71" }
esnext.weak-map.of { "chrome":"71" }
esnext.weak-set.add-all { "chrome":"71" }
esnext.weak-set.delete-all { "chrome":"71" }
esnext.weak-set.from { "chrome":"71" }
esnext.weak-set.of { "chrome":"71" }
[<CWD>/src/in.js] Based on your targets, regenerator-runtime import excluded.
Successfully compiled 1 file with Babel.