Default module set (documented in docs/DEFAULT-MODULES.md):
CI / Build & Test (push) Successful in 8m10s

Category	Modules
Runtime
bare, bare-process, bare-module, bare-fs, bare-path, bare-stream
Swarm / data
hyperswarm, hypercore, corestore, hyperbee, hyperdrive, autobase, hyperdb, hyperschema, hrpc, protomux, compact-encoding, b4a
Media
bare-media, bare-ffmpeg, plus codecs via bare-media (jpeg/png/webp/gif/heif/…)
Local power (bundled)
bare-sqlite, bare-fetch
This commit is contained in:
Raven Scott
2026-07-26 23:12:08 -04:00
parent 631f9c4023
commit ee79042e9f
17 changed files with 489 additions and 246 deletions
+19 -1
View File
@@ -1,5 +1,5 @@
/**
* Shared host bootstrap used by index.mjs (lean) and index-media.mjs (media pack).
* Shared host bootstrap for index.mjs.
*/
export function installConsoleToStderr() {
@@ -22,15 +22,33 @@ export function logErr(msg) {
} catch (_) {}
}
/** Native addons to touch during --extract-addons (core + media + sqlite). */
export const DEFAULT_ADDON_PACKAGES = [
// Core swarm / storage
'bare-fs',
'bare-pipe',
'bare-module',
'udx-native',
'sodium-native',
'rocksdb-native',
// Media (default)
'bare-ffmpeg',
'bare-jpeg',
'bare-png',
'bare-webp',
'bare-gif',
'bare-heif',
'bare-bmp',
'bare-ico',
'bare-tiff',
'bare-svg',
'bare-image-resample',
'bare-exif',
// Local power
'bare-sqlite',
];
/** @deprecated Use DEFAULT_ADDON_PACKAGES — media is default. */
export const MEDIA_ADDON_PACKAGES = [
'bare-ffmpeg',
'bare-jpeg',