skypackjs / skypack-cdn

An issue tracker for the CDN
107 stars 5 forks source link

How to use react libraries with preact #293

Open paullaffitte opened 2 years ago

paullaffitte commented 2 years ago

Hello, I'm trying to use preact with some react library like ansi-to-react, but it doesn't work. I don't get any error message but I think it should not work anyway because this package is importing react instead of preact. I know there is a trick to do in webpack to make it work, but in this case I don't know how to do.