getsentry / rrweb

record and replay the web
https://www.rrweb.io/
Other
13 stars 5 forks source link

fix: Exclude `modulepreload` as well #52

Closed billyvg closed 1 year ago

billyvg commented 1 year ago

We were only excluding <link rel="preload" as="script" /> but we should include rel="modulepreload" as well

billyvg commented 1 year ago

It's already merged :) https://github.com/rrweb-io/rrweb/pull/1128

billyvg commented 1 year ago

Re: util function - I wanted to keep upstream PR small so opted to keep them inline