---
id: 6734
title: 'code.LivePreview: doRunSource() => honor dist/esm'
state: CLOSED
labels:
  - enhancement
assignees:
  - tobiu
createdAt: '2025-06-01T10:24:44Z'
updatedAt: '2025-06-01T10:25:24Z'
githubUrl: 'https://github.com/neomjs/neo/issues/6734'
author: tobiu
commentsCount: 1
parentIssue: null
subIssues: []
subIssuesCompleted: 0
subIssuesTotal: 0
blockedBy: []
blocking: []
closedAt: '2025-06-01T10:25:23Z'
---
# code.LivePreview: doRunSource() => honor dist/esm

* Like inside the dev mode, the new dist env needs to fetch arbitrary imported modules inside the same scope.
* Meaning: no mix with the dev mode

## Timeline

- 2025-06-01T10:24:44Z @tobiu assigned to @tobiu
- 2025-06-01T10:24:45Z @tobiu added the `enhancement` label
- 2025-06-01T10:25:06Z @tobiu referenced in commit `b9de68a` - "code.LivePreview: doRunSource() => honor dist/esm #6734"
### @tobiu - 2025-06-01T10:25:23Z

<img width="1913" alt="Image" src="https://github.com/user-attachments/assets/2605f9dc-4b14-432c-847f-2f7ec63d46cb" />

- 2025-06-01T10:25:23Z @tobiu closed this issue

