Skip to content

Commit 9562121

Browse files
ci: link webpack before counting module loading
The minimizer's worker threads resolve `require("webpack")` on their own, so the production build needs the link the other report workflows make. Claude-Session: https://claude.ai/code/session_013FhutPJQq4FqAi1cjUXmv1
1 parent a6e4226 commit 9562121

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

‎.github/workflows/module-loading.yml‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,11 @@ jobs:
3131

3232
- run: node tooling/retry.js yarn --frozen-lockfile
3333

34+
# The minimizer's worker threads resolve `require("webpack")` themselves.
35+
- run: yarn link --frozen-lockfile || true
36+
37+
- run: yarn link webpack --frozen-lockfile
38+
3439
# The counts compare with the pull request's base commit.
3540
- name: Check out the base commit
3641
run: |

0 commit comments

Comments
 (0)