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

fix: serve local assets in development server #81

Closed
wants to merge 1 commit into from

Conversation

BadMannersXYZ
Copy link

Closes #75

@shishkin
Copy link
Owner

shishkin commented Dec 7, 2024

Now when I think about it again, I don't think it would be a good idea to serve images through this integration in dev. A better approach to resolve build/dev discrepancy would be to not rely on static build in dev and manually populate pagefind index in dev mode. Especially now, when we use pagefind JS API to build the index. However, I don't have enough knowledge of astro and vite internals to understand how to get pages content in dev.

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

Successfully merging this pull request may close these issues.

Support Astro Image Optimization
2 participants