1.0.0 • Published 3 years ago

@ascorbic/worker-threads-shim v1.0.0

Weekly downloads
1,635
License
MIT
Repository
-
Last release
3 years ago

A worker_threads shim to allow write-file-atomically to work with rollup/microbundle in Node 10. It imports worker_threads in a try...catch block, because it's behind a flag in Node 10. Unfortunately rollup hoists that import outside the block. Aliasing worker_threads to this package fixes that.