💻
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 with var.
Additional context
The issue was apparently introduced by #14581
💻
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
constwithvar.Additional context
The issue was apparently introduced by #14581