@hyperframes/core 0.8.195 → 0.8.197

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -390,7 +390,8 @@ function createAssetInliner(resolveProjectPath, inlineAssets) {
390
390
  return null;
391
391
  }
392
392
  inlinedChars += asset.dataUrl.length;
393
- return appendSuffixToUrl(asset.dataUrl, suffix);
393
+ const hashIdx = suffix.indexOf("#");
394
+ return hashIdx < 0 ? asset.dataUrl : `${asset.dataUrl}${suffix.slice(hashIdx)}`;
394
395
  };
395
396
  }
396
397
  function isExternalSvgFragmentUse(el, attr, urlValue) {