Skip to content
This repository has been archived by the owner on Sep 9, 2021. It is now read-only.

v3.0.0

Compare
Choose a tag to compare
@alexander-akait alexander-akait released this 01 Aug 13:11
· 36 commits to master since this release

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