LearnNewsExamplesServices
Frontmatter
id1204
titledynamic root folders for dynamic imports inside webpack based builds
stateClosed
labels
enhancement
assignees[]
createdAtSep 16, 2020, 4:49 PM
updatedAtSep 16, 2020, 11:18 PM
githubUrlhttps://github.com/neomjs/neo/issues/1204
authortobiu
commentsCount1
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtSep 16, 2020, 11:18 PM

dynamic root folders for dynamic imports inside webpack based builds

Closed v8.1.0 enhancement
tobiu
tobiu commented on Sep 16, 2020, 4:49 PM

cross reference ticket for: https://github.com/webpack/webpack/issues/11483

in case there was a way to specify different folder roots, we could remove the custom app worker build entry point.

we can not use '../../../../../' for everything, since this would slow down the build time by a long shot and create split chunks we don't want.

e.g.: I got the following structure locally:

github

  • neomjs
    • neo
    • covid-dashboard
    • realworld

(all sub repos)

walking up too far would create split chunks across the different sub repos.

tobiu added the enhancement label on Sep 16, 2020, 4:49 PM
tobiu referenced in commit 34babc0 - "dynamic root folders for dynamic imports inside webpack based builds #1204" on Sep 16, 2020, 10:57 PM
tobiu
tobiu Sep 16, 2020, 11:18 PM

works fine now!

tobiu closed this issue on Sep 16, 2020, 11:18 PM