Add `config.onJsProcessComplete`

to a JS build immediately before it is optimized.