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
2.1.0 breaks IE11 #358
Comments
Free-style ticket for reference: blakeembrey/free-style#82 |
The author from free-style was very kind to release an ES5 compatible build https://github.com/blakeembrey/free-style/releases/tag/v3.2.2 |
Sorry for the late reply. The following will need to be done:
PR would be appreciated 🌹 |
I found a workaround with Webpack. If you want to solve it right now, please refer to it.
|
I'm sorry but above workaround may occur another bug. In my case, typestyle's style() with media() generate same hash even different media queries. Here is a easy workaround for this bug.
|
@basarat would you be opposed to a fix where |
@basarat friendly reminder a year later :) ^ |
After upgrading to 2.1.0 from 2.0.4 IE11 throws:
"Const must be initialized error"
I think the main culprit is the free-style dependency which uses
const
in for loops.https://github.com/blakeembrey/free-style/blob/master/src/index.ts#L257
The text was updated successfully, but these errors were encountered: