Skip to content

Commit eafe060

Browse files
authored
fix: narrow the export presence guard detection (#20561)
1 parent 75d605c commit eafe060

File tree

6 files changed

+216
-447
lines changed

6 files changed

+216
-447
lines changed

.changeset/wild-yaks-wave.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"webpack": patch
3+
---
4+
5+
Narrows export presence guard detection to explicit existence checks on namespace imports only, i.e. patterns like "x" in ns.

0 commit comments

Comments
 (0)