@babel/plugin-proposal-object-rest-spread outputs verbose code as 7.5.0 #10423
Labels
i: bug
i: duplicate
outdated
A closed issue/PR that is archived due to age. Recommended to make a new issue
Bug Report
Current Behavior
as of 7.5.0 the output of my distributed code has become more verbose. I'm not sure if it's a bug or intended side-effect of another change. If it's intended, I haven't worked out how to reduce the output again.
Basically a single-line babel-helper has been replaced at the top of the file with multi in-line functions
Input Code
output
Expected behavior/code
previously, 7.4.4, output included a helper and much less code.
output
Babel Configuration (.babelrc, package.json, cli command)
Environment
7.6.0
v10.16.0
OSX 10.14.6
Possible Solution
🤔
playing with the browser targets gives a desired output.
has there been an update to the spec which these browsers no longer support?
is there another plugin or way that i can fill this gap rather than adding this code at the top of the file?
Additional context/Screenshots
none
The text was updated successfully, but these errors were encountered: