The monkey patch for fixing parcel-bundler/parcel#1852
This plugin includes a monkey patch which allows to use WASM (or Rust) in Web Workers via Parcel.
Parcel@<=1.10.1 can't bundle wasm-loader in Web Workers, so Parcel disallows to use WASM and Rust in Web Workers.
This bug reported at parcel-bundler/parcel#1852 and resolved at parcel-bundler/parcel#2092.
For npm,
npm i -D github:3846masa-tmp/parcel-plugin-monkey-patch-for-wasm-in-worker
For yarn,
yarn add --dev github:3846masa-tmp/parcel-plugin-monkey-patch-for-wasm-in-worker
If you want to remove this plugin, please remove "@3846masa/parcel-plugin-workers-patch" package.
This package is loaded automatically when running parcel.
MIT (c) 3846masa