-
Notifications
You must be signed in to change notification settings - Fork 399
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
Internalizes parser function from css dependencie #443
Conversation
Hmmm, I'm hesitant to just bring in that entire library's core into our code as a solution. A few reasons come to mind:
I know these are all more difficult in the long run than merely copying this over blindly right now. But they'll pay off in the long run. |
@gnapse What do you think would be the best approach on pushing this forward? |
Any news on that? |
FYI there seems to be a new fork of the |
The version This doesn't contain the source-map support but otherwise, it is a 1o1 replacement with up to 25% performance improvement. Let me know if there is any error using this new version :-) |
I propose that PR to fix the problem: #470 |
Duplicate of #470 |
What:
Internalizes CSS parser function from
css
dependencie.Why:
Because the library has been not maintained anymore. And this lib uses another dependency called
source-maps-resolver
(that is not consumed by@testing-library/jest-dom
) that is officially deprecated too, showing an annoying warning whenjest-dom
is used.How:
Extracting the
parse
function fromcss