summaryrefslogtreecommitdiff
path: root/src/compiler/codegen/content.ts
diff options
context:
space:
mode:
authorGravatar Matthew Phillips <matthew@matthewphillips.info> 2021-04-19 14:41:06 -0400
committerGravatar GitHub <noreply@github.com> 2021-04-19 14:41:06 -0400
commiteb984559a89b4f0b09c42604a18f1198c8d7ecca (patch)
tree5bcf0ea7c136733aa39c6dffc3d9b31d77dde719 /src/compiler/codegen/content.ts
parent188541260acad5ccd6699f0a21d6da600860e74c (diff)
downloadastro-eb984559a89b4f0b09c42604a18f1198c8d7ecca.tar.gz
astro-eb984559a89b4f0b09c42604a18f1198c8d7ecca.tar.zst
astro-eb984559a89b4f0b09c42604a18f1198c8d7ecca.zip
Fix dynamic React components (#111)
Another change in snowpack@3 caused this bug. It's not actually a bug in snowpack. Previously snowpack was keeping its list of installed packages in a global cache. In 3.3 it stopped doing so. We were accidentally relying on that global cache to be able to resolve dynamic components. This fixes it so that we use the frontend snowpack instance to resolve dynamic components. Doing so means they are available when we try to load them.
Diffstat (limited to 'src/compiler/codegen/content.ts')
0 files changed, 0 insertions, 0 deletions