This repository has been archived by the owner on Sep 9, 2021. It is now read-only.
v3.0.0
3.0.0 (2020-08-01)
⚠ BREAKING CHANGES
- minimum supported Node.js version is
10.13
- minimum supported webpack version is
4
- the
name
option was renamed to thefilename
option - switch on ES module syntax by default, use the
esModule
option if you need backward compatibility with Common JS modules - the
fallback
option was removed in favor theinline
option, theinline
option accepts onlyfallback
andno-fallback
values - the
publicPath
option default value based onoutput.publicPath
- the
filename
option default value based onoutput.filename
Features
- added the
worker
option (replaces #178) (#247) (f03498d) - added the
chunkFilename
option, default value based onoutput.chunkFilename
(905ed7b) - added the
esModule
option - allow to use any web worker constructor and options for constructor
- the
publicPath
option can beFunction
- the
filename
(previouslyname
) option can beFunction
Bug Fixes
- support
WASM
(152634c) - respect
externals
(#264) (1e761ed) - memory leak for inline web workers (#252) (f729e34)
- source maps when
inline
using without fallback (#269) (5047abb) - the
publicPath
options works fine with async web workers chunks - compatibility with webpack@5 (#259) (e0d9887)
- always use
self
as global object - compatibility with
webpack-dev-server
- increase performance