LearnNewsExamplesServices
Frontmatter
id543
titleDynamically override __webpack_public_path__ for the main thread
stateClosed
labels
enhancement
assigneestobiu
createdAtMay 16, 2020, 3:42 PM
updatedAtMay 16, 2020, 3:43 PM
githubUrlhttps://github.com/neomjs/neo/issues/543
authortobiu
commentsCount0
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtMay 16, 2020, 3:43 PM

Dynamically override webpack_public_path for the main thread

tobiu
tobiu commented on May 16, 2020, 3:42 PM

the main thread can get imported from different tree levels. e.g.

/docs/index.html

/apps/covid/index.html

depending on the level, webpack is looking on the wrong spot for the addons.

we do not want to create multiple versions of main => one for each folder level

webpack is handling webpack_public_path in a poor way, so we need to enforce an override.

tobiu added the enhancement label on May 16, 2020, 3:42 PM
tobiu assigned to @tobiu on May 16, 2020, 3:42 PM
tobiu referenced in commit 804da69 - "Dynamically override webpack_public_path for the main thread #543" on May 16, 2020, 3:43 PM
tobiu closed this issue on May 16, 2020, 3:43 PM