Skip to content

v6.0.4

@itechdom itechdom tagged this 05 May 03:05
The OrbitalServerRuntime's `import * as nodeModule from 'module'` is gated
behind `isNodeEnv()` at runtime, but bundlers walk imports statically. The
source comment (lines 89-92) describes a design that depends on the
package.json `browser` field stubbing 'module' for browser builds — but
the entry was never added. Webpack consumers (Docusaurus, etc.) failed
with: Module not found: Error: Can't resolve 'module'.

Adds "module": false alongside the existing express / createOsHandlers
/ LocalPersistenceAdapter stubs. No-op on Node, fixes browser bundles.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Assets 2
Loading