Skip to content

Commit 790faab

Browse files
committed
refactor: establish Window folder feature
1 parent d49d3e2 commit 790faab

13 files changed

Lines changed: 14 additions & 18 deletions

rescript.json

Lines changed: 14 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,16 @@
1616
"DOMNodes"
1717
],
1818
"WebAPI.HTML": ["WebAPI.DOMNodes", "WebAPI.File", "HTML"],
19+
"WebAPI.Window": [
20+
"WebAPI.HTML",
21+
"WebAPI.Media",
22+
"WebAPI.Storage",
23+
"WebAPI.Messaging",
24+
"WebAPI.Crypto",
25+
"WebAPI.Performance",
26+
"WebAPI.ViewTransitions",
27+
"Window"
28+
],
1929
"WebAPI.Media": ["WebAPI.HTML", "Media"],
2030
"WebAPI.WebAudio": ["WebAPI.Media", "WebAPI.Messaging", "WebAudio"],
2131
"WebAPI.SVG": ["WebAPI.DOMNodes", "WebAPI.Geometry", "SVG"],
@@ -281,14 +291,16 @@
281291
]
282292
},
283293
{
284-
"dir": "src/DOM",
294+
"dir": "src/window",
285295
"subdirs": true,
286-
"feature": "WebAPI.DOM",
296+
"feature": "Window",
287297
"public": [
288298
"CustomElementRegistry",
289299
"Document",
300+
"History",
290301
"IdleDeadline",
291302
"Location",
303+
"VisualViewport",
292304
"Window",
293305
"XPathExpression",
294306
"XPathResult"
@@ -357,14 +369,6 @@
357369
"WebMIDI"
358370
]
359371
},
360-
{
361-
"dir": "src/History",
362-
"subdirs": true,
363-
"feature": "WebAPI.History",
364-
"public": [
365-
"History"
366-
]
367-
},
368372
{
369373
"dir": "src/storage",
370374
"subdirs": true,
@@ -491,14 +495,6 @@
491495
"ViewTransition"
492496
]
493497
},
494-
{
495-
"dir": "src/VisualViewport",
496-
"subdirs": true,
497-
"feature": "WebAPI.VisualViewport",
498-
"public": [
499-
"VisualViewport"
500-
]
501-
},
502498
{
503499
"dir": "src/web-audio",
504500
"subdirs": true,
File renamed without changes.

0 commit comments

Comments
 (0)