New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Transpile to ES5 #745
Comments
Sorry, no. It is no longer the belief that transpiling node_modules is a bad idea. The future is ES6 and beyond; IE11 is the last remaining browser that is supported that subsequently does not support ES6 at all. This is what babel is made for. I'm not trying to be mean about this, but transpiling Plus, transpiling isn't going to work for every use-case, either. It's a very application-specific process that I can't make decisions about. I'm 100% aware of the arguments from both sides of the arguments - I've been writing javascript for almost 15 years now (ES3) and have been in the node community since 0.10. The transpilation debate is over now; Babel is how things should be done, and with modern bundlers is trivial to configure to do so.
Alternatively, learn to mount your own react apps - it's really not that hard ( As stated in the comment when creating an issue, this is a decision that will not change. You're welcome to create an issue at |
Hi :) Thank you for your work on this package!
Please re-consider this issue: #668
It is a major blocker and breaking-change that was released under a minor version upgrade on this package.
You stated
transpile your dependencies just like everyone else does
- unfortunately that is not true and creating a lot of problems in the JS ecosystem.Some resources:
create-react-app
which is the go-to tool inreact
world to easily create react apps does not transpile depencies.Because our app still has to support IE11, we are effectively prevented from upgrading packages that then use your
debug
package on a latest version, which breaks IE11 support although they did not release a major upgrade because this package did not do so. The only way we can get around is by transpiling our node_modules, which is not feasible for big packages and gets really cumbersome to manage exceptions at a larger scale.Happy to discuss & help you understand this problem and the impact you and this package are having on the entire eco-system. I really hope you reconsider.
Sincerely,
Stefan
The text was updated successfully, but these errors were encountered: