astro/packages
ottomated 3a6e42e190
Determine hoisted scripts via AST analysis (#7707)
* initial hacky

* plural importNames and exportNames

* extract into function

* Add test

* fix issue with another component importing our tracked component

* fix dynamic imports

* changeset

* add mdx to checklist

* mdx exports Content

* remove unused var

* Update packages/astro/test/hoisted-imports.test.js

Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>

* Update packages/astro/src/core/build/plugins/plugin-analyzer.ts

Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>

* Update packages/astro/src/core/build/plugins/plugin-analyzer.ts

Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>

* Update real-drinks-melt.md

* Update .changeset/real-drinks-melt.md

Co-authored-by: Yan Thomas <61414485+Yan-Thomas@users.noreply.github.com>

* Update .changeset/real-drinks-melt.md

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>

* Update .changeset/real-drinks-melt.md

* Update .changeset/real-drinks-melt.md

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>

---------

Co-authored-by: Matthew Phillips <matthew@skypack.dev>
Co-authored-by: Matthew Phillips <matthew@matthewphillips.info>
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
Co-authored-by: Yan Thomas <61414485+Yan-Thomas@users.noreply.github.com>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-07-20 12:03:40 -04:00
..
astro Determine hoisted scripts via AST analysis (#7707) 2023-07-20 12:03:40 -04:00
astro-prism nit: export props has been unnecessary.. forever (#7646) 2023-07-14 09:57:06 -04:00
astro-rss Bump dependency versions (#7477) 2023-06-26 11:38:16 +08:00
create-astro Fix organize-imports-cli with satisfies operator (#7727) 2023-07-20 20:47:36 +08:00
integrations Fix organize-imports-cli with satisfies operator (#7727) 2023-07-20 20:47:36 +08:00
internal-helpers [ci] release (#7449) 2023-06-27 08:42:46 -04:00
markdown Fix organize-imports-cli with satisfies operator (#7727) 2023-07-20 20:47:36 +08:00
telemetry Fix organize-imports-cli with satisfies operator (#7727) 2023-07-20 20:47:36 +08:00
underscore-redirects [ci] release (#7624) 2023-07-13 21:43:11 +08:00
webapi Fix organize-imports-cli with satisfies operator (#7727) 2023-07-20 20:47:36 +08:00