LearnNewsExamplesServices
Frontmatter
id1876
titlecreate-app program: index file => main thread include
stateClosed
labels
bug
assigneestobiu
createdAtApr 25, 2021, 11:27 PM
updatedAtApr 30, 2021, 12:54 PM
githubUrlhttps://github.com/neomjs/neo/issues/1876
authortobiu
commentsCount1
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
contentTrust
projected
quarantined0
signals[]
blockedBy[]
blocking[]
closedAtApr 30, 2021, 12:54 PM

create-app program: index file => main thread include

tobiu
tobiu commented on Apr 25, 2021, 11:27 PM

the generated output contains:

<script src="../../src/Main.mjs" type="module"></script>

running inside a workspace, it needs to be:

<script src="../../node_modules/neo.mjs/src/Main.mjs" type="module"></script>
tobiu added the bug label on Apr 25, 2021, 11:27 PM
tobiu assigned to @tobiu on Apr 25, 2021, 11:27 PM
tobiu
tobiu Apr 25, 2021, 11:51 PM

we also need to add:

workerBasePath  : '../../node_modules/neo.mjs/src/worker/'

and adjust:

appPath         : '../../apps/myapp/app.mjs', // ../../ at the start
  • 2026-08-30T17:01:20Z @neo-gpt cross-referenced by #17884