next.js
Turbopack: allow shadowing the `require` global in ESM
#70453
Merged

Turbopack: allow shadowing the `require` global in ESM #70453

mischnic merged 9 commits into canary from mischnic/esm-declare-cjs-globals
mischnic
ijjk ijjk added created-by: Turbopack team
mischnic mischnic changed the title Only insert `require` global in ESM if undeclared Turbopack: only insert `require` global in ESM if undeclared 2 years ago
ijjk
ijjk
mischnic
mischnic commented on 2024-09-25
mischnic mischnic marked this pull request as ready for review 2 years ago
mischnic mischnic requested a review from sokra sokra 2 years ago
mischnic mischnic force pushed to 3040d4a8 2 years ago
mischnic Add test
1f929b6c
mischnic Only insert CJS globals if undeclared
6ef7bbbf
mischnic Update snapshots
d901a6e2
mischnic Remove dead code
cb5f5f76
mischnic Revert "Remove dead code"
be21d262
mischnic Revert "Update snapshots"
b18c81a1
mischnic Revert "Only insert CJS globals if undeclared"
ed3679de
mischnic Just introduce a new scope
8f4af9dc
mischnic Update snapshots
ce80d33c
mischnic mischnic force pushed from 3040d4a8 to ce80d33c 2 years ago
mischnic mischnic changed the title Turbopack: only insert `require` global in ESM if undeclared Turbopack: allow shadowing the `require` global in ESM 2 years ago
sokra
sokra approved these changes on 2024-09-25
mischnic mischnic enabled auto-merge (squash) 2 years ago
mischnic mischnic merged 039f5809 into canary 2 years ago
mischnic mischnic deleted the mischnic/esm-declare-cjs-globals branch 2 years ago
github-actions github-actions added locked
github-actions github-actions locked as resolved and limited conversation to collaborators 2 years ago

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone