Commit 84f27a2
authored
fix: preserve bare specifiers for subpath and undeclared external imports in rolldown build (#540)
The rolldown external config used exact string matching, which failed to
match dependency subpath imports (e.g. `@noble/hashes/sha2.js` did not
match `@noble/hashes`). This caused the build to resolve these imports
to relative `node_modules` paths, breaking consumers at runtime.1 parent 3e3a217 commit 84f27a2
3 files changed
+9
-2
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
| 130 | + | |
| 131 | + | |
130 | 132 | | |
131 | 133 | | |
132 | 134 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
13 | 17 | | |
14 | 18 | | |
15 | 19 | | |
| |||
0 commit comments