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

hybrid mode #16

Open
gabrielperales opened this issue Jun 7, 2024 · 2 comments · Fixed by #17
Open

hybrid mode #16

gabrielperales opened this issue Jun 7, 2024 · 2 comments · Fixed by #17
Assignees
Labels

Comments

@gabrielperales
Copy link

Hi Rodrigo!, this plugin is amazing!

I'm building an Astro web, which is almost static but I have a webhook and a couple of server endpoints, so the output configuration of my project could be set to "hybrid". Would this plugin work for the hybrid mode?

@gabrielperales
Copy link
Author

I just have checked to replace if (config.output !== 'static') { by if (config.output == 'server') { and it seems to work :)

@RodrigoTomeES
Copy link
Owner

Hi! I didn't see this issue, yeah, it should be work with "hybrid" if you don't use it in any pages. If you use "hybrid" mode for one page and it use css classes or generate new classes that could break your css.

@RodrigoTomeES RodrigoTomeES linked a pull request Jun 13, 2024 that will close this issue
@RodrigoTomeES RodrigoTomeES self-assigned this Jun 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants