hyperclayjs 1.19.2 → 1.19.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/hyperclay.js +8 -1
package/package.json
CHANGED
package/src/hyperclay.js
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* DO NOT EDIT THIS FILE DIRECTLY — it is generated from build/hyperclay.template.js
|
|
3
|
+
*
|
|
4
|
+
* HyperclayJS v1.19.3 - Minimal Browser-Native Loader
|
|
3
5
|
*
|
|
4
6
|
* Modules auto-init when imported (no separate init call needed).
|
|
5
7
|
* Include `export-to-window` feature to export to window.hyperclay.
|
|
@@ -226,6 +228,11 @@ if (preset && PRESETS[preset]) {
|
|
|
226
228
|
requested = [...PRESETS.minimal.modules];
|
|
227
229
|
}
|
|
228
230
|
|
|
231
|
+
if (preset && features) {
|
|
232
|
+
const extras = features.split(',').map(f => f.trim());
|
|
233
|
+
extras.forEach(f => { if (!requested.includes(f)) requested.push(f); });
|
|
234
|
+
}
|
|
235
|
+
|
|
229
236
|
// Apply exclusions
|
|
230
237
|
if (exclude) {
|
|
231
238
|
const excluded = new Set(exclude.split(',').map(f => f.trim()));
|