[Bug]: @babel/runtime 7.18.2 contains a 'const' keyword, making it es5-incompatible #14586
Closed
1 task
Labels
i: bug
i: regression
outdated
A closed issue/PR that is archived due to age. Recommended to make a new issue
馃捇
How are you using Babel?
babel-loader (webpack)
Input code
N/A
Configuration file name
No response
Configuration
N/A
Current and expected behavior
afaik, @babel/runtime should not have to be processed by babel, and so should be ES5-compatible.
Environment
N/A
Possible solution
Replace
const
withvar
.Additional context
The issue was apparently introduced by #14581
The text was updated successfully, but these errors were encountered: