Internalizes parser function from css dependencie#443
Internalizes parser function from css dependencie#443mechamobau wants to merge 2 commits intotesting-library:mainfrom
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
cssdependencie.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-domis used.How:
Extracting the
parsefunction fromcss