akanjs 3.0.0-alpha.75 → 3.0.0-alpha.76

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "akanjs",
3
- "version": "3.0.0-alpha.75",
3
+ "version": "3.0.0-alpha.76",
4
4
  "sourceType": "module",
5
5
  "type": "module",
6
6
  "publishConfig": {
@@ -461,7 +461,7 @@ export const HMR_CLIENT_SCRIPT = `(function(){
461
461
  link.href = href;
462
462
  link.setAttribute("data-akan-css", "pending");
463
463
  link.addEventListener("load", function(){
464
- var prev = document.querySelectorAll("link[data-akan-css=active]");
464
+ var prev = document.querySelectorAll("link[data-akan-css=active], style[data-akan-css=active]");
465
465
  for (var i = 0; i < prev.length; i++) prev[i].parentNode && prev[i].parentNode.removeChild(prev[i]);
466
466
  link.setAttribute("data-akan-css", "active");
467
467
  endHmrOverlay(overlayToken);