Skip to content

Commit

Permalink
fixup! Add a setting to enable turning off of assets for smaller styl…
Browse files Browse the repository at this point in the history
…esheets (in terms of outer rules)
  • Loading branch information
eoghanmurray committed Aug 15, 2024
1 parent a2144f6 commit e50f0f1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/rrweb/src/record/observers/asset-manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -177,8 +177,8 @@ export default class AssetManager {
}
const processStylesheet = () => {
cssRules = el.sheet!.cssRules; // update, as a mutation may have since occurred
const cssText = absolutifyURLs(
stringifyCssRules(cssRules),
const cssText = stringifyCssRules(
cssRules,
sheetBaseHref,
);
const payload: SerializedCssTextArg = {
Expand Down

0 comments on commit e50f0f1

Please sign in to comment.