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
blockedBy[]
blocking[]
closedAtApr 30, 2021, 12:54 PM

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

Closed v8.1.0 bug
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
tobiu referenced in commit c67ffef - "create-app program: index file => main thread include #1876" on Apr 30, 2021, 12:50 PM
tobiu closed this issue on Apr 30, 2021, 12:54 PM