https://github.com/ascorbic/worker-threads-shim
https://github.com/ascorbic/worker-threads-shim
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/ascorbic/worker-threads-shim
- Owner: ascorbic
- Created: 2020-11-15T07:22:51.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2020-11-15T07:28:17.000Z (over 5 years ago)
- Last Synced: 2025-01-23T14:35:59.685Z (over 1 year ago)
- Language: JavaScript
- Size: 0 Bytes
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
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.