---
id: 6739
title: 'Neo.Main: onDomContentLoaded() => add the service worker for dist/esm'
state: CLOSED
labels:
  - enhancement
assignees: []
createdAt: '2025-06-01T16:12:31Z'
updatedAt: '2025-06-01T16:12:57Z'
githubUrl: 'https://github.com/neomjs/neo/issues/6739'
author: tobiu
commentsCount: 0
parentIssue: null
subIssues: []
subIssuesCompleted: 0
subIssuesTotal: 0
blockedBy: []
blocking: []
closedAt: '2025-06-01T16:12:57Z'
---
# Neo.Main: onDomContentLoaded() => add the service worker for dist/esm

* When using `Neo.config.useServiceWorker = 'dist/production'`, this should also add it for the new `dist/esm` env.


## Timeline

- 2025-06-01T16:12:33Z @tobiu added the `enhancement` label
- 2025-06-01T16:12:48Z @tobiu referenced in commit `c157b2a` - "Neo.Main: onDomContentLoaded() => add the service worker for dist/esm #6739"
- 2025-06-01T16:12:57Z @tobiu closed this issue

