Frontmatter
| id | 9581 |
| title | Bug: Webpack fails to resolve Task, Canvas, and Data worker dynamic chunks due to strict magic comments |
| state | Closed |
| labels | bugaibuild |
| assignees | tobiu |
| createdAt | Mar 27, 2026, 2:54 PM |
| updatedAt | Mar 27, 2026, 3:18 PM |
| githubUrl | https://github.com/neomjs/neo/issues/9581 |
| author | tobiu |
| commentsCount | 0 |
| parentIssue | null |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Mar 27, 2026, 3:18 PM |
Following the fix in #9580, the
^start-of-line anchor was identified in thewebpackIncluderegexes forTask.mjs,Canvas.mjs, andData.mjsas well.This strict anchor prevented the Webpack context matcher from safely interpreting contextual string paths (e.g.,
./apps/portal/canvas.mjs), resulting in dynamic chunks being excluded from the build map. This led to fatal runtime errors such asRenderer Remote Stub not foundinside production and development builds for components like the Portal app.The
^anchors have been surgically removed, restoring full compilation mapping across all active workers.