GoogleChromeLabs / worker-plugin

👩‍🏭 Adds native Web Worker bundling support to Webpack.
https://npm.im/worker-plugin
Apache License 2.0
1.92k stars 79 forks source link

Documentation needs updating #41

Closed jzombie closed 4 years ago

jzombie commented 5 years ago

Digging around some of the issues here, it seems that there are more options available than what's in the README.md.

Also, there should be clarification that if you pass a variable, instead of a hardcoded string, into the Worker call, that it will not be picked up by the WebPack compilation, and will use the browser's native implementation w/o module compilation.

developit commented 5 years ago

These would both be great additions to the documentation. The latter is noted during compilation as an error/warning, but I don't think it's surfaced properly in the docs.

developit commented 4 years ago

Sorry for the delay, finally got around to updating the readme!