-
-
Notifications
You must be signed in to change notification settings - Fork 62
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
import testing-library/dom
from npm instead of unpkg
#65
Comments
Actually, I think I've changed my mind. Fetching it from unpkg gives us an advantage. It will allow us to add an option to switch the version of testing-library that's being used. @marcosvega91 & @MichaelDeBoey, what do you guys think? |
I like the idea, can be interesting |
Being able to switch the version could be helpful to test possible bugs with, but I'm not sure if we should make this available tbh. |
I hope this helps a bit, in my opinion testing-playground should always aim for the newest version of testing-library. I think it aims to be the guiding light, and we want it to point to the best possible direction. @MichaelDeBoey here is right. |
Some help in fixing the issue would be most welcome 😇 |
I'll have a look after my working hours 👀 |
Thanks. That would be awesome! |
This one's nasty. Generally speaking, What I know by now:
to both I'm confused, will keep on working this out tomorrow. |
Yeah, what I remember from another project of mine, is that parcel does do something "smart" with browserslists. I think we need to write a browserslist file to the testing-library folder before build (or post install) Also see here: parcel-bundler/parcel#1655 (comment) If that doesn't work, we have a few options left.
The last one is really least preferable in my opinion. |
The issue lies within I've also posted the smallest possible reproduction case there. |
This comment needs to be fixed:
quoting for issue indexing:
https://github.com/smeijer/testing-playground/blob/958a46b4be8520045908ac1d20de8236e45409f5/src/parser.js#L5-L16
The text was updated successfully, but these errors were encountered: