Ryan Christian

Results 344 comments of Ryan Christian

Doing that and running prod seems to work just fine for me, unless I'm missing something. Odd.

Alright, well, debugging process. Can you [clone this repo](https://github.com/RyanChristian4427/preact-cli-swiper-css) and see if it works? It's a super cut down default Preact app. If it does work, that means it's something...

@deathwebo Can you provide a repo that can reproduce this?

Ah, yeah, if you just want to disable CSS modules that's how you do it.

Should I then move this over to the Preact repository instead?

Fair enough, I currently know probably next to nothing about what Prefresh is actually doing, so I just took a guess before investigating further. Certainly will look at those then.

This looks to be a famously challenging problem (now that I've been pointed in the right direction, sorry Prefresh!), so a solution probably isn't going to be pleasant, just in...

This looks to be an issue with module resolution rather than anything to do with the `dest` flag. Prerending is done in Node so when you set the target to...

Alright, I'll see if I can get a quick PR written up here. Should be possible. Might be some time before you see such a thing merged in though (if...

Hm, might not be as simple as I assumed. Seems to be that [the issue is here](https://github.com/preactjs/preact-cli/blob/52333a569b853044c6371654758b4aa13b00e0a8/packages/cli/lib/lib/webpack/prerender.js#L18), we ultimately can not require the `ssr-bundle.js` when that module's own require statements...