Skip to content

Commit 4bcc42d

Browse files
committed
refactor: establish HTML folder feature
1 parent b57f2c9 commit 4bcc42d

62 files changed

Lines changed: 16 additions & 7 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

rescript.json

Lines changed: 16 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
"WebAPI.Geometry",
1616
"DOMNodes"
1717
],
18+
"WebAPI.HTML": ["WebAPI.DOMNodes", "WebAPI.File", "HTML"],
1819
"WebAPI.File": ["WebAPI.Event", "File"],
1920
"WebAPI.URL": ["WebAPI.DOM", "URL"],
2021
"WebAPI.Fetch": ["WebAPI.Event", "WebAPI.File", "WebAPI.URL", "Fetch"],
@@ -179,16 +180,12 @@
179180
]
180181
},
181182
{
182-
"dir": "src/DOM",
183+
"dir": "src/html",
183184
"subdirs": true,
184-
"feature": "WebAPI.DOM",
185+
"feature": "HTML",
185186
"public": [
186-
"CustomElementRegistry",
187-
"Document",
188-
"DomHTMLMediaElement",
189187
"HTMLAnchorElement",
190188
"HTMLAreaElement",
191-
"HTMLAudioElement",
192189
"HTMLBRElement",
193190
"HTMLBaseElement",
194191
"HTMLBodyElement",
@@ -246,8 +243,20 @@
246243
"HTMLTextAreaElement",
247244
"HTMLTimeElement",
248245
"HTMLTitleElement",
249-
"HTMLTrackElement",
250246
"HTMLUListElement",
247+
"HTMLUnknownElement"
248+
]
249+
},
250+
{
251+
"dir": "src/DOM",
252+
"subdirs": true,
253+
"feature": "WebAPI.DOM",
254+
"public": [
255+
"CustomElementRegistry",
256+
"Document",
257+
"DomHTMLMediaElement",
258+
"HTMLAudioElement",
259+
"HTMLTrackElement",
251260
"HTMLVideoElement",
252261
"IdleDeadline",
253262
"ImageData",

0 commit comments

Comments
 (0)