nikku / karma-browserify

A fast Browserify integration for Karma that handles large projects with ease
MIT License
321 stars 50 forks source link

reactify or babelify transform doesn't work after v4.4.2 #183

Closed rockneverdies55 closed 8 years ago

rockneverdies55 commented 8 years ago

Any version after v4.4.2 emits "error parsing file unexpected token" for jsx syntax within test scripts.
However when 4.4.2 is used transformation works correctly...

nikku commented 8 years ago

With 5.x the browserify version used changed to whatever you define in your project (it is now a peer dependency). Maybe that causes the issues?

Please add a test case (example project) that reproduces the issue if we should look into it.

nikku commented 8 years ago

Feel free to provide additional information and we are happy to reopen / work on this.

dwelle commented 8 years ago

Same problem. Local browserify version was 12.0.1, bumping to 13.0.1 solved the issue. Perhaps the peer dependency shouldn't allow <13?