Updates
- Order the preloads as CSS -> JS -> everything else. This makes sure LCP is not blocked on waiting for JS to download
- Adds an option to mutateManifest before generating headers out of it.
mutateManifest
is useful as preact-cli does not currently build manifest for dynamic route e.g. /product/* so a user can add this/ modify based on something existing using this function
Credits:
Thanks @prateekbh