kindspells/astro-shield

Compatibility with @playform/compress

Opened this issue · 2 comments

Hi, thank you for this project!

I tried this integration together with another integration https://github.com/PlayForm/Compress which will compress the resources and make the hashes produced by this integration invalid.

Is there anyway to workaround to make both integrations together?

Hi @thwonghin I'm not sure if there is any good workaround, as I haven't gone through this particular use case. I might do some small experiments these next days.

Hi @thwonghin , in the last release (v1.6.1) I changed how the astro:build:done hook is configured, ensuring that it's executed as late as possible.

This should help avoiding the problems related to file hashes changes, could you check if this is solved now? Thank you :) .