astro-auto-import
astro-auto-import copied to clipboard
Auto-import components in Astro projects
Currently if I use `astro-embed-integration` in `astro.config.mjs` it will inject itself (CSS and JS) post compiling to every MDX file, even if there aren't any embeds in the MDX. I...
Kizu wrote this https://blog.kizu.dev/astro-mdx-components/ and I recommend he take a look at your integration to simplify things, however the part I think your integration doesn't handle when it comes to...
It would be great to be able to import using globs like so: ```javascript AutoImport({ imports: [ // '@components/Form.astro', // '@components/Radio.astro', '@components/*', // '@includes/Intro.md, // '@includes/About.astro', '@includes/*' ], }) ```...
## What's happening? When using `AutoImport` and `Starlight`, `AutoImport` must be placed _after_ the Starlight integration in order to function properly. However, the package throws a warning in the console:...