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
When the build completes, the process should terminate, even if rollup is being run inside a Node.js worker thread.
Actual Behavior
When using @rollup/plugin-terser 0.4.x and running rollup inside a Node.js worker thread, the build does complete successfully, but the Node.js process never terminates.
Prior versions of @rollup/plugin-terser such as 0.3.0 did not have this problem, and running the same rollup build in the main process (rather than using a worker thread) also works fine even with @rollup/plugin-terser 0.4.x.
Additional Information
This is very likely related to #1409 since that was the only PR merged between versions 0.3.0 and 0.4.0, and it's also related to worker threads.