astro-rename icon indicating copy to clipboard operation
astro-rename copied to clipboard

hybrid mode

Open gabrielperales opened this issue 1 year ago • 2 comments

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 avatar Jun 07 '24 23:06 gabrielperales

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

gabrielperales avatar Jun 07 '24 23:06 gabrielperales

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 avatar Jun 13 '24 09:06 RodrigoTomeES