summaryrefslogtreecommitdiff
path: root/examples/framework-svelte
diff options
context:
space:
mode:
authorGravatar Aleksander Heintz <alxandr@alxandr.me> 2022-08-25 20:57:11 +0200
committerGravatar GitHub <noreply@github.com> 2022-08-25 14:57:11 -0400
commitfcc36ac908429733b1d9e51caddbc7590f9eeea5 (patch)
tree5ca0d15cdce8a4dc02ba1e8276f40ef154230eea /examples/framework-svelte
parent243525b1565385753ae1464c5def0d7de799f906 (diff)
downloadastro-fcc36ac908429733b1d9e51caddbc7590f9eeea5.tar.gz
astro-fcc36ac908429733b1d9e51caddbc7590f9eeea5.tar.zst
astro-fcc36ac908429733b1d9e51caddbc7590f9eeea5.zip
Make astro package play nice with node16 module resolution (#4182)
* Make astro package play nice with node16 module resolution Projects using node16 module resolution in typescript uses the new exports and imports configuration from typescript to find definition files. This mirrors how nodejs resolves the files. If a package contains an exports map in the package.json, typescript will ignore the "types" field (not sure how it plays with typesVersions). This moves the typings hirearchy of definition files into the same hierarchy that astro produces output files in, so that typescript can discover them. Fixes: #4172 * Add changeset * Reorder export keys * Update paths inside .d.ts files Co-authored-by: Princesseuh <princssdev@gmail.com>
Diffstat (limited to 'examples/framework-svelte')
0 files changed, 0 insertions, 0 deletions