I\'m trying to incorporate Babel\'s transform-runtime to make my code compatible with IE9. But since integrating it, the code won\'t even run on Chrome. I get the error
You can try replace "exclude" by "include", following the recomendations from documentation.
Try to prefer "include" when possible...
This worked for me.
{ "test": /\.js/, "loader": "babel", "include": [path.resolve(__dirname, './src')] }