Skip to content

Commit

Permalink
refactor: share html parser with template and dynamic html
Browse files Browse the repository at this point in the history
  • Loading branch information
DylanPiercey committed Oct 22, 2024
1 parent e0d0196 commit 5c47769
Show file tree
Hide file tree
Showing 10 changed files with 300 additions and 291 deletions.
5 changes: 5 additions & 0 deletions .changeset/thirty-mails-talk.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@marko/runtime-tags": patch
---

Share html parsing logic between dynamic html runtime and template parsing.
38 changes: 19 additions & 19 deletions .sizes.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,53 +7,53 @@
{
"name": "*",
"total": {
"min": 14394,
"brotli": 5584
"min": 14362,
"brotli": 5569
}
},
{
"name": "counter",
"user": {
"min": 305,
"brotli": 232
"brotli": 238
},
"runtime": {
"min": 3586,
"brotli": 1508
"min": 3612,
"brotli": 1515
},
"total": {
"min": 3891,
"brotli": 1740
"min": 3917,
"brotli": 1753
}
},
{
"name": "counter 💧",
"user": {
"min": 219,
"brotli": 165
"brotli": 160
},
"runtime": {
"min": 2985,
"brotli": 1375
"brotli": 1372
},
"total": {
"min": 3204,
"brotli": 1540
"brotli": 1532
}
},
{
"name": "comments",
"user": {
"min": 1159,
"brotli": 605
"brotli": 609
},
"runtime": {
"min": 7572,
"brotli": 3106
"min": 7602,
"brotli": 3118
},
"total": {
"min": 8731,
"brotli": 3711
"min": 8761,
"brotli": 3727
}
},
{
Expand All @@ -63,12 +63,12 @@
"brotli": 533
},
"runtime": {
"min": 8554,
"brotli": 3518
"min": 8584,
"brotli": 3537
},
"total": {
"min": 9549,
"brotli": 4051
"min": 9579,
"brotli": 4070
}
}
]
Expand Down
2 changes: 1 addition & 1 deletion .sizes/comments.csr/entry.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import {
l as b,
k as f,
m as p,
} from "./runtime-7bp0Fg2l.js";
} from "./runtime-BjaWNi13.js";
const $ = "<ul></ul>",
h = d(
2,
Expand Down
2 changes: 1 addition & 1 deletion .sizes/comments.ssr/entry.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import {
k as v,
l as b,
m as f,
} from "./runtime-Cw8Sjfx6.js";
} from "./runtime-D1IlB4mV.js";
const h = e(
2,
(s) => {
Expand Down
2 changes: 1 addition & 1 deletion .sizes/counter.csr/entry.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import {
v as c,
d as i,
b as u,
} from "./runtime-BwlHQd4E.js";
} from "./runtime-BHo9T35f.js";
const r = t("XBSGKvBc", (t) =>
n(
t[0],
Expand Down
2 changes: 1 addition & 1 deletion .sizes/counter.ssr/entry.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import {
d as o,
a as r,
i as t,
} from "./runtime-Be6vioXB.js";
} from "./runtime-BMEF98it.js";
const i = s("XBSGKvBc", (s) =>
a(
s[0],
Expand Down
Loading

0 comments on commit 5c47769

Please sign in to comment.