Answer the question
In order to leave comments, you need to log in
Why doesn't babel-polyfill transpile forEach for NodeList?
Throws an error in IE when I try to use forEach on a NodeList or just the closest method. In theory, the polyfill should treat this out of the box, perhaps it's a wrong connection?
In the webpack config is:
module.exports = {
mode: 'development',
entry: ['@babel/polyfill', './src/App.js'],
output: {
filename: 'bundle.js',
path: path.resolve(__dirname, 'dist')
},
...
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question