Alexander Pope
Alexander Pope
It would certainly be possible. Right now, `rel="preload"` is skipped only because we only look for `"stylesheet"` and `"icon"`. I'm not really a fan of "inline everything" (and regret adding...
`rootpath` is used to resolve relative `src/rel` from the html file content, not the actual path to the html file for processing.
I had hoped to be able to retire this project once an official server renderer became available, but after some initial testing, it appears that @lit-labs/ssr is quite a lot...
Good idea! An example has been on my todo list for a while, but I've been busy figuring things out on a big work project. Hopefully I'll get a chance...
Good point! Should check if the response is stale (via `cache-control` header) before copying.
Thanks, that's a good point. Will add a note...
Finally ready: [popeindustries/lit](https://github.com/popeindustries/lit)
There are a couple things happening here: 1. the `@popeindustries/lit-html` `render()` function is actually `render()` + `hydrate()` combined, so most of the "bloat" here is due to hydration logic 2....
In case anyone else gets tripped up by this error when converting cjs to esm (where `require('native-node-module or module-marked-as-external')` preserves the `require` statement and throws a runtime error), the most...