Avoiding expensive rebuild in a custom plugin. #4185
Closed
elliotcourant
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a plugin I wrote to programmatically generate images used by PWA apps at build time. It works perfectly but it can take a while even on a nicer machine; is there an easy way I can have the images only generate once during development mode? Or to only generate if the source image changes? I've been combing through other plugins but most plugins rely on simply rebuilding every time, or are so complicated I've not been able to glean a simple way to do this?
Here is the plugin in its entirety:
Beta Was this translation helpful? Give feedback.
All reactions