Skip to content

Commit

Permalink
fix: add missing PURE comment
Browse files Browse the repository at this point in the history
  • Loading branch information
DylanPiercey committed Dec 29, 2024
1 parent 94ec992 commit c0232bc
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
5 changes: 5 additions & 0 deletions .changeset/soft-dolls-care.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@marko/runtime-tags": patch
---

Add missing PURE comment to dom runtime.
8 changes: 4 additions & 4 deletions .sizes.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,12 @@
"brotli": 100
},
"runtime": {
"min": 3168,
"brotli": 1438
"min": 3140,
"brotli": 1422
},
"total": {
"min": 3279,
"brotli": 1538
"min": 3251,
"brotli": 1522
}
},
{
Expand Down
2 changes: 1 addition & 1 deletion packages/runtime-tags/src/dom/parse-html.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const fallback = document.createTextNode("");
const fallback = /* @__PURE__ */ document.createTextNode("");
const parser = /* @__PURE__ */ new Range();

export function parseHTML(html: string) {
Expand Down

0 comments on commit c0232bc

Please sign in to comment.