You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some rollup plugins keep state that needs to be reset after each run. For example, CSS extractors will collect styles on each call to transform() and dump a merged CSS file beside bundle.js on the final call to onwrite(). I'm writing one now for stylis.
When running rollup watch, I cannot find a reliable and documented way to detect when a new run starts. It would be nice if a plugin.init/reset() hook was added.
The text was updated successfully, but these errors were encountered:
Some rollup plugins keep state that needs to be reset after each run. For example, CSS extractors will collect styles on each call to
transform()
and dump a merged CSS file besidebundle.js
on the final call toonwrite()
. I'm writing one now for stylis.When running
rollup watch
, I cannot find a reliable and documented way to detect when a new run starts. It would be nice if aplugin.init/reset()
hook was added.The text was updated successfully, but these errors were encountered: