Webpack + React and Google Chrome 43.0.2357.65

After updating Google Chrome (v.> = 43.0.2357.65), an error appeared on the console: Uncaught SyntaxError: Unexpected token functionin different places of my .js package.

It appears only when bundle.js returns 200 http status. But after updating the page, this file returns 304 http status, and everything works fine without errors. I am using webpack v.1.8.5 and React v.0.13.2

In other browsers, the code works fine, but in Google Chrome it works fine before updating.

+4
source share
1 answer

See the Chrome issue and this related Twitter conversation from the person who submitted it.

Node.js , . :

broken.js script, Node.js 0.10.18, , ,

+2

All Articles