There is no problem with webpack and babel compilation, only the editor has been reporting errors, obsessive-compulsive disorder patients, looking at is uncomfortable
Well, the previous answer was a bit naive, actually because
object spread operatorIn
vscodeInside does not support it. LookHere
Disable it directly and pass
parserOptionsLet’s do the check.