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

34 lines
1.2 KiB
Plaintext

Warning, the following targets are using a decimal version:
node: 7.4
We recommend using a string for minor/patch versions to avoid numbers like 6.10
getting parsed as 6.1, which can lead to unexpected behavior.
@babel/preset-env: `DEBUG` option
Using targets:
{
"firefox": "52",
"node": "7.4"
}
Using modules transform: auto
Using plugins:
transform-literals { "firefox":"52" }
transform-function-name { "firefox":"52" }
transform-for-of { "firefox":"52" }
transform-dotall-regex { "firefox":"52", "node":"7.4" }
transform-destructuring { "firefox":"52" }
proposal-async-generator-functions { "firefox":"52", "node":"7.4" }
proposal-object-rest-spread { "firefox":"52", "node":"7.4" }
proposal-unicode-property-regex { "firefox":"52", "node":"7.4" }
proposal-json-strings { "firefox":"52", "node":"7.4" }
proposal-optional-catch-binding { "firefox":"52", "node":"7.4" }
transform-named-capturing-groups-regex { "firefox":"52", "node":"7.4" }
transform-modules-commonjs { "firefox":"52", "node":"7.4" }
proposal-dynamic-import { "firefox":"52", "node":"7.4" }
Using polyfills: No polyfills were added, since the `useBuiltIns` option was not set.
Successfully compiled 1 file with Babel.