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

How to use dependencies inside virtual imports #4

Open
florian-lefebvre opened this issue Jan 21, 2024 · 3 comments
Open

How to use dependencies inside virtual imports #4

florian-lefebvre opened this issue Jan 21, 2024 · 3 comments

Comments

@florian-lefebvre
Copy link
Owner

Needs another export (see astro-env)

@florian-lefebvre florian-lefebvre changed the title [guide] virtual import dependencies How to use dependencies inside virtual imports Jan 23, 2024
@Fryuni
Copy link
Collaborator

Fryuni commented Feb 13, 2024

I went through astro-env's code, it doesn't use a virtual import. What is this issue about?

@florian-lefebvre
Copy link
Owner Author

Ah I think it's on the preview branch but that's not the best example. Have a look at those instead:

Basically this avoids having the user to add the dependencies used in your integration to their project, by shipping them alongside the integration

@Fryuni
Copy link
Collaborator

Fryuni commented Feb 13, 2024

Got it. Just like the Codemod this could maybe be automated... Maybe

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants