I want to have some post-build actions executed as a part of serve of build process, and as I can see there is no such possibility yet (described here #218). I was unable to achieve that using both plugins (they are executed for every entrypoint group, which is not the case) and rollup hook overrides.
So, I've added onBundleReady callback to the options, which is called for every extension rebuild.
onBundleReady?: void | Promise<void>
Feedback are welcome, I am ready to improve API or something else
I want to have some post-build actions executed as a part of serve of build process, and as I can see there is no such possibility yet (described here #218). I was unable to achieve that using both plugins (they are executed for every entrypoint group, which is not the case) and rollup hook overrides.
So, I've added
onBundleReady
callback to theoptions
, which is called for every extension rebuild.Feedback are welcome, I am ready to improve API or something else