1.1.0
- Fixes an issue when Webpack is configured to transpile node_modules (#4, thanks @TimvdLippe)
- The compiled output no longer includes
{ type: 'module' }
, since it can raise a SyntaxError.
Upgrade notes: This should just fix a browser support issue in 1.0.0, so it's not a breaking change.
Though it is not recommended, if you're relying on outputting actual module Workers there is a new option to retain{ type: 'module' }
in the compiled code:new WorkerPlugin({ preserveTypeModule: true })