Frontmatter
| id | 543 |
| title | Dynamically override __webpack_public_path__ for the main thread |
| state | Closed |
| labels | enhancement |
| assignees | tobiu |
| createdAt | May 16, 2020, 3:42 PM |
| updatedAt | May 16, 2020, 3:43 PM |
| githubUrl | https://github.com/neomjs/neo/issues/543 |
| author | tobiu |
| commentsCount | 0 |
| parentIssue | null |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | May 16, 2020, 3:43 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.