3 ms·
You can't use the default transpilers. If you do, browserify can't really follow the source maps. But you're not alone! For React JSX, you can use the browseri
by warfangle 12y ago
You can't use the default transpilers. If you do, browserify can't really follow the source maps. But you're not alone!
For React JSX, you can use the browserify transform reactify. For typescript, you can use typescriptify. They should be right there in npm :)
If you're using karma as a testrunner though, I highly s suggest karma-browserifast over karma-browserify. It's orders of magnitude faster, and supports the latest jasmine and karma (the former does not). The former runs in O(n!) where n is the number of spec files. Yikes!