Andrew Fong

Results 26 comments of Andrew Fong

For anyone coming across this (over a year later!), adding `&` to the safelist _seems_ to work? ``` npx purgecss --css style.css --content index.html --rejected --safelist "&" ``` I'm not...

Is there a way to type this so that `` is acceptable JSX but `` is not? The former seems to just work because of how Solid's JSX templating behaves...

Sorry for the delay in responding to this. If you're still interested in bumping the version, give it a go but check in the updated `package-lock.json` file as well.

Yes, whenever bumping `package.json`, you should also update `package-lock.json` if there's checked in. You can bump React to the latest v18 if you want too.

Oh wait -- actually, you might have to hold on that. This package uses Enzyme for testing and there's no official Enzyme adapter for React beyond v16. We'd need to...

Hard to say without seeing your actual blog, but maybe it's one of the other properties in that file? Like if the element you're styling has a `highlight` class? https://github.com/fongandrew/hydeout/blob/master/_sass/hydeout/_code.scss#L35