Commit 786f663
docs: clarify why external filtering only applies to dynamic imports
User-defined and emitted entries are already guaranteed non-external by
`load_entry_module()` which rejects them with `entry_cannot_be_external`.
Added inline comment and updated design doc to explain this invariant.
Co-Authored-By: Claude Opus 4.6 <[email protected]>1 parent 552b889 commit 786f663
File tree
2 files changed
+5
-1
lines changed- crates/rolldown/src/module_loader
- meta/design
2 files changed
+5
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
458 | 458 | | |
459 | 459 | | |
460 | 460 | | |
| 461 | + | |
| 462 | + | |
| 463 | + | |
| 464 | + | |
461 | 465 | | |
462 | 466 | | |
463 | 467 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
79 | | - | |
| 79 | + | |
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
| |||
0 commit comments