LearnNewsExamplesServices
Frontmatter
id8864
titledocs: Add advanced guide on Build Architecture & Service Workers
stateClosed
labels
documentationaiarchitecture
assigneestobiu
createdAtJan 22, 2026, 11:49 AM
updatedAtJan 22, 2026, 11:50 AM
githubUrlhttps://github.com/neomjs/neo/issues/8864
authortobiu
commentsCount1
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtJan 22, 2026, 11:50 AM

docs: Add advanced guide on Build Architecture & Service Workers

Closed v11.23.1 documentationaiarchitecture
tobiu
tobiu commented on Jan 22, 2026, 11:49 AM

We are adding a comprehensive guide on "Build Architecture & Service Workers" to learn/guides/advanced/BuildArchitecture.md.

This guide serves as a critical reference for understanding the "inverted" bundler model (1 Application Engine = Many Apps), the transition from Zero-Build Dev Mode to Native ESM Production Builds, and the complex interplay of Service Workers and neo-config.json path rewriting.

Content includes:

  • Universal Entry Points (Main.mjs, worker.App)
  • Config Path Shifts (basePath, workerBasePath)
  • Native ESM Output & Realm-Scoped Chunking (chunks/app/, etc.)
  • Service Worker Conflicts (Root vs. Dist)
  • Root Domain Mapping & <base> tag strategy

This document will aid in future debugging of distribution environment issues.

tobiu added the documentation label on Jan 22, 2026, 11:49 AM
tobiu added the ai label on Jan 22, 2026, 11:49 AM
tobiu added the architecture label on Jan 22, 2026, 11:49 AM
tobiu referenced in commit bcda1f1 - "docs: Add advanced guide on Build Architecture & Service Workers (#8864)" on Jan 22, 2026, 11:50 AM
tobiu assigned to @tobiu on Jan 22, 2026, 11:50 AM
tobiu
tobiu Jan 22, 2026, 11:50 AM

Input from Gemini 3 Pro:

✦ I have created the "Build Architecture & Service Workers" guide (learn/guides/advanced/BuildArchitecture.md) and registered it in learn/tree.json. This guide captures the complexities of the Neo.mjs build system, including the inverted entry point model, path rewriting, native ESM output, and service worker interactions. This baseline documentation is now available for future sessions.

tobiu closed this issue on Jan 22, 2026, 11:50 AM