diff --git a/.changeset/soft-dolls-care.md b/.changeset/soft-dolls-care.md new file mode 100644 index 0000000000..1f26e652d5 --- /dev/null +++ b/.changeset/soft-dolls-care.md @@ -0,0 +1,5 @@ +--- +"@marko/runtime-tags": patch +--- + +Add missing PURE comment to dom runtime. diff --git a/.sizes.json b/.sizes.json index 774cb0c1bd..73580359ea 100644 --- a/.sizes.json +++ b/.sizes.json @@ -33,12 +33,12 @@ "brotli": 100 }, "runtime": { - "min": 3168, - "brotli": 1438 + "min": 3140, + "brotli": 1422 }, "total": { - "min": 3279, - "brotli": 1538 + "min": 3251, + "brotli": 1522 } }, { diff --git a/packages/runtime-tags/src/dom/parse-html.ts b/packages/runtime-tags/src/dom/parse-html.ts index 272370fc1d..d7417437ae 100644 --- a/packages/runtime-tags/src/dom/parse-html.ts +++ b/packages/runtime-tags/src/dom/parse-html.ts @@ -1,4 +1,4 @@ -const fallback = document.createTextNode(""); +const fallback = /* @__PURE__ */ document.createTextNode(""); const parser = /* @__PURE__ */ new Range(); export function parseHTML(html: string) {