npm worker-loader 3.0.0
v3.0.0

latest releases: 3.0.8, 3.0.7, 3.0.6...
5 years ago

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 the filename 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 the inline option, the inline option accepts only fallback and no-fallback values
  • the publicPath option default value based on output.publicPath
  • the filename option default value based on output.filename

Features

  • added the worker option (replaces #178) (#247) (f03498d)
  • added the chunkFilename option, default value based on output.chunkFilename (905ed7b)
  • added the esModule option
  • allow to use any web worker constructor and options for constructor
  • the publicPath option can be Function
  • the filename (previously name) option can be Function

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

Don't miss a new worker-loader release

NewReleases is sending notifications on new releases.