LearnNewsExamplesServices
Frontmatter
id393
titleUsing webpack to build neo.mjs
stateClosed
labels
enhancementhelp wanteddiscussion
assignees[]
createdAtMar 28, 2020, 10:51 PM
updatedAtSep 21, 2020, 1:38 PM
githubUrlhttps://github.com/neomjs/neo/issues/393
authortobiu
commentsCount1
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtSep 21, 2020, 1:38 PM

Using webpack to build neo.mjs

Closed v1.4.12/archive-v1-4-12-chunk-1 enhancementhelp wanteddiscussion
tobiu
tobiu commented on Mar 28, 2020, 10:51 PM

just tried once more to switch our webpack based builds from target node to web and it still breaks since there are window references (don't exist inside the worker scope).

opened an issue on the webpack repo which we should track: https://github.com/webpack/webpack/issues/10630

using target: node does work as long as we are not using dynamic imports. this however is something i really would love to do => lazy loading modules as needed.

it works perfectly fine for the dev mode, but there is no point in case we would need to create a separate version just for enabling webpack to handle it.

tobiu added the enhancement label on Mar 28, 2020, 10:51 PM
tobiu added the help wanted label on Mar 28, 2020, 10:51 PM
tobiu added the discussion label on Mar 28, 2020, 10:51 PM
tobiu
tobiu Sep 21, 2020, 1:38 PM

resolved already.

tobiu closed this issue on Sep 21, 2020, 1:38 PM