GoogleChromeLabs / worker-plugin

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

Only warn about dynamic module workers #73

Closed developit closed 4 years ago

developit commented 4 years ago

This removes the "new Worker() will only be bundled if passed a String" warning in cases where new Worker() is not called with {type:'module'}. It's possible this will result in folks not realizing their Worker is being left unbundled when type:module isn't used.

This should fix #12.

pytkin commented 4 years ago

@developit hi, any progress on this?

pytkin commented 4 years ago

@developit thank you :)

akphi commented 4 years ago

@developit Thank you so much! Do you have a plan to release any time soon?

crfrolik commented 4 years ago

Can a new release be created so we can get this fix? Thanks!