Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MDX integration imports all providers #134

Closed
sylvinus opened this issue Jul 9, 2024 · 1 comment
Closed

MDX integration imports all providers #134

sylvinus opened this issue Jul 9, 2024 · 1 comment

Comments

@sylvinus
Copy link

sylvinus commented Jul 9, 2024

When using the MDX auto-imports, all embeds CSS files are loaded (YT, vimeo, ...), not just the one being used.

It seems to be the same behaviour that the "standalone installation" fixes:
https://astro-embed.netlify.app/components/youtube/#standalone-installation

It might be better to switch the auto-import method here to use standalone installs instead?

'astro-embed': enabledComponents.map((name) => [

@delucis
Copy link
Owner

delucis commented Jul 31, 2024

Thanks @sylvinus — closing this as a duplicate of delucis/astro-auto-import#43

@delucis delucis closed this as not planned Won't fix, can't repro, duplicate, stale Jul 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants