Skip to content

Commit 34d8642

Browse files
committed
refactor: establish SVG folder feature
1 parent 4ea5552 commit 34d8642

4 files changed

Lines changed: 11 additions & 3 deletions

File tree

rescript.json

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
"WebAPI.HTML": ["WebAPI.DOMNodes", "WebAPI.File", "HTML"],
1919
"WebAPI.Media": ["WebAPI.HTML", "Media"],
2020
"WebAPI.WebAudio": ["WebAPI.Media", "WebAPI.Messaging", "WebAudio"],
21+
"WebAPI.SVG": ["WebAPI.DOMNodes", "WebAPI.Geometry", "SVG"],
2122
"WebAPI.File": ["WebAPI.Event", "File"],
2223
"WebAPI.URL": ["WebAPI.DOM", "URL"],
2324
"WebAPI.Fetch": ["WebAPI.Event", "WebAPI.File", "WebAPI.URL", "Fetch"],
@@ -120,6 +121,16 @@
120121
"DOMRectReadOnly"
121122
]
122123
},
124+
{
125+
"dir": "src/svg",
126+
"subdirs": true,
127+
"feature": "SVG",
128+
"public": [
129+
"SVGElement",
130+
"SVGGraphicsElement",
131+
"SVGLength"
132+
]
133+
},
123134
{
124135
"dir": "src/css-font-loading",
125136
"subdirs": true,
@@ -260,9 +271,6 @@
260271
"ImageData",
261272
"Location",
262273
"Navigator",
263-
"SVGElement",
264-
"SVGGraphicsElement",
265-
"SVGLength",
266274
"ScreenOrientation",
267275
"VideoColorSpace",
268276
"Window",

0 commit comments

Comments
 (0)