Commit d4680a0
authored
fix: prevent loops in postbuild analysis phase (#14450)
It is currently possible for a chunk to import chunks that import
itself. I'm not exactly sure where this occurs or why as I can't
reproduce it in a simple repository, but a simple fix is to prevent
importing already visited chunks.
Helps with #14444 though doesn't fix the underlying issue1 parent 1464d20 commit d4680a0
File tree
2 files changed
+9
-0
lines changed- .changeset
- packages/kit/src/core/postbuild
2 files changed
+9
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
255 | 255 | | |
256 | 256 | | |
257 | 257 | | |
| 258 | + | |
258 | 259 | | |
259 | 260 | | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
260 | 264 | | |
261 | 265 | | |
262 | 266 | | |
| |||
0 commit comments