babel: ^ 6.23.0
and @ babel/core: ^ 7.1.2
@ babel/preset-env: ^ 7.1.0
babel: ^ 6.23.0
and @ babel/core: ^ 7.1.2
@ babel/preset-env: ^ 7.1.0
did you make up all these version numbers?
babel itself just parses js, without transformation, and the corresponding transformation requires the introduction of plug-ins;
the former is what babel-core does, and the latter is what preset does.
< del > ~ < / del > < del > ~ < / del > ~ Segmentation Line < del > ~ < / del > < del > ~ < / del > ~
well, at first glance, it was 7.1.2 and 7.1.0. I was wrong.
if you ask about the difference between versions, six to seven people feel noteworthy that they have removed the year preset and stage preset, but it doesn't matter if they usually use env,.
Those packages are placed under a namespace named @ scope/package to avoid some security issues in package naming
babel has changed warehouses since 7