<link> fixes re. modulepreload and fetch logic (#1614)

* `link[rel="modulepreload"]` doesn't require `as="script"` which is tied to rel="preload" only
* extract file extension properly when examining `rel="prefetch"` to disregard URL parameters correctly

Co-authored-by: Eoghan Murray <eoghan@getthere.ie>
This commit is contained in:
Billy Vong
2025-02-14 18:31:17 -05:00
committed by GitHub
parent dfb2991055
commit 6f4e691f39
3 changed files with 17 additions and 8 deletions

View File

@@ -0,0 +1,6 @@
---
"rrweb-snapshot": patch
"rrweb": patch
---
Change to ignore all link[rel="modulepreload"] instead of including only those with `as="script"`