Skip to content

Conversation

@billyvg
Copy link
Member

@billyvg billyvg commented Feb 13, 2023

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

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

@mydea mydea left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Two comments:

  1. I guess we can/should also PR this upstream?
  2. Does it make sense to extract this into a util to be re-used (e.g. isPreloadLink or something like this)

@billyvg
Copy link
Member Author

billyvg commented Feb 15, 2023

It's already merged :) rrweb-io#1128

@billyvg
Copy link
Member Author

billyvg commented Feb 15, 2023

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

@billyvg billyvg merged commit 5b4631b into sentry-v1 Feb 15, 2023
@billyvg billyvg deleted the fix-exclude-modulepreload-link branch February 15, 2023 18:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants