Ryan Christian

Results 344 comments of Ryan Christian

You have `"skipLibCheck"` enabled in your `tsconfig.json` which hides the fact that a type cannot be formed to check against. If you remove the `"paths"` from your `tsconfig.json`, the correct...

> i've enabled skipLibCheck intentionally because some of the libraries i'm using emit errors like these And that'd definitely be the right thing to do, however, `skipLibCheck` just ignores the...

The key statistic there is not how many browsers support Brotli, but how many sites are distributing it. Browsers only consume what they're given, so we'd need to take a...

I believe you want something like this: https://github.com/preactjs/wmr/blob/42fa94027c0adc05b1e05b364010eb39203a12e8/packages/preact-iso/router.d.ts#L22-L27 Just swap out `RouteableProps` for whatever you want.

@caxapexac You installed the latest version of `html-webpack-plugin` which isn't compatible, yes. You can try an older version, and you may need to downgrade whatever utility that is as well....

Nothing strange about a post-build script, and I'd argue that is the correct way to go about this. Way less fragile than depending on Webpack plugins, that depend on specific...

Nothing's wrong with with that, but the fact of the matter is that you have a lot more moving pieces with Webpack plugins. As you've already encountered, you have a...

Disabling prerendering would mean very little CSS could be inlined. Critters needs to be able to detect what styles you use in order to inline those CSS rules. If you...

`ssr-build/` is used to prerender your app, `push-manifest.json` is beneficial with http2 push, see: https://github.com/GoogleChromeLabs/http2-push-manifest#whats-a-push-manifest You can just run a post-build delete script for anything you don't want. I doubt...