-
Notifications
You must be signed in to change notification settings - Fork 67
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
Clarify what environments are targeted by buble's codebase #93
Comments
@Rich-Harris what do you think? Since IE11 doesn't support classes, #66 and #40 are relevant here, too. I would say bublé should only be compiled for node 4. |
Maybe you could transpile with node4 support in mind for |
@adrianheine WDYT about the proposed solution of transpiling with different targets in mind for |
I think that makes sense. We would have to find a workaround for #40, though. |
Imho that's a separate issue, that could ofc be fixed/tackled somehow but it is not tightly coupled to this one - or am I missing something? |
It is coupled, because transpiling classes will make our errors not have a |
Hm, I can't be sure about all old browser, but you assign custom most.js has migrated to transpiled version of buble's output (because they have migrated to babel which didnt support extending built-ins) for their custom |
Sorry, I meant |
react-styleguidist
usesbuble
in the browser, but unfortunatelybuble
ships to npm codebase containing some es6 features.I'd only want to clarify what environments buble is targeting - in which node/browser versions it should run out of the box? Would you consider transpiling more features to support older browsers like IE11 or should we fix this in a tool like
react-styleguidist
by transpiling buble on our own?The text was updated successfully, but these errors were encountered: