-
Notifications
You must be signed in to change notification settings - Fork 8
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
Doesn't work with core-js v3 #50
Comments
Unfortunately, this seems to be a problem upstream. 😕 callstack/linaria#420 |
And also gatsby, they still use core-js v2 and planned to drop it in gatsby 3. (yeah it's long term plan) |
Hi, I just wanted to ask what the status of this issue is? As far as I can see core-js v3 support was added in the recent beta and it seems, that this issue should be resolved according to callstack/linaria#539. I tried installing |
Apart from incorrectly built stable versions of Linaria, the problem was also the discrepancy in versions of core-js between Linaria and Gatsby, so the full workaround is to also install core-js v3 locally: yarn add linaria@^1.4.0-beta.3
yarn add core-js I also documented this in the readme under "Known issues". |
@silvenon yep, thats pretty much what i had to do for my local project. |
This will be fixed in linaria@next (v2.0) they will not depend on core-js anymore |
And Gatsby finally switched their core-js dependency to version 3 |
Linaria v2 has been released without core-js dependency. closing issue. |
Works fine with v2, will this package be updated in the future to support v3?
detailed error:
success run queries - 6.543s - 236/236 36.07/s
ERROR #98123 WEBPACK
Generating SSR bundle failed
Cannot find module 'core-js/modules/es6.regexp.to-string'
File: .cache\develop-static-entry.js
The text was updated successfully, but these errors were encountered: