All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
- pass license files as related assets for webpack@5 (7d3ae95)
- compatibility with
10.13
version of Node.js
- the
warningsFilter
option was removed without replacement,
terser
version is 5
,
- return value of the
minify
option was changed, only code
/map
/extractedComments
are valid
- improved compatibility with webpack@5
- show minimized assets in stats for webpack@5 (#289) (d59eae2)
- compatibility cache feature with webpack@5 (5d2bd29)
- skip double compression for child compilation (37cc813)
- compatibility with child compilations (9da4add)
- do not crash on buffer assets (3c67023)
- update
p-limit
and serialize-javascript
packages
- compatibility with
>= 10.13
versions of Node.js
- security problem (#259) (522aa2c)
- parallelism in multi compilation mode (0ee7ed2)
- remove redundant code for the
chunkFilter
option (#243) (7220734)
- minimum supported Node.js version is
10.13
- the
chunkFilter
was removed, please use test
/include
/exclude
options
- change arguments order for the
warningFilter
option from Function<(warning, file, source) -> Boolean>
to Function<(file, warning, source) -> Boolean>
- when the
extractComments.filename
option is a function it pass only one argument and it is object with filename
, basename
, query
and hash
properties
- if the value from the
extractComments.filename
option conflicts with existing assets, an error will be thrown instead of a warning
- use the
optimizeAssets
hook for webpack@5
- preserve
@license
comments starting with //
(d3f0c81)
- do not break code with shebang (fac58cb)
- respect stdout and stderr of workers and do not create warnings (#215) (5708574)
- use webpack hash options rather than hard-code MD4 (#213) (330c1f6)
- license files now have .txt suffix by default (#210) (de02f7b)
- reduce memory usage (abfd950)
- update
serialize-javascript
to 2.1.2
version.
- update
serialize-javascript
to 2.1.1
version.
- get rid deprecation warnings for webpack@5 (#181) (0e9b780)
- map
webpack@5
options to terser
options (#177) (f4c47aa)
- pass an asset path for the
warningsFilter
option (#176) (9a0a575)
- propagate an error stacktrace from
terser
(#179) (a11e66b)
- enable the
sourceMap
option when the SourceMapDevToolPlugin
plugin used (non cheap) (#178) (d01c1b5)
- get rid deprecation warnings for
webpack@5
(#180) (504ea8b)
- invalidate cache when a file name was changed (#171) (7e1d370)
- logic for extracting and preserving comments (#166) (6bdee64)
- correct interpretation url for extracted comment file (#157) (aba8ba7)
- emit warning when comment file conlict with an existing asset (#156) (2b4d2a4)
- improve naming of extracted file with comments (#154) (5fe3337)
- reduce memory usage (#145) (815e533)
- revert do not run parallel mode when you have only one file (#146) (6613a97)
- minimum require Node.js version is
8.9.0
- the
extractComments
option is true
by default
- the
cache
option is true
by default
- the
parallel
option is true
by default
- using the
extractComments.condition
option with true
value extract only some
comments
- the
sourceMap
option now defaults to depending on the devtool
Webpack option
- enable the cache option by default (#132) (960d249)
- enable the extractComments option by default (ad2471c)
- enable the parallel option by default (#131) (7b342af)
- respect
devtool
values for source map generation (#140) (dd37ca1)
- invalidate cache after changing node version (675edfd)
- cannot read property 'minify' of undefined (#69) (0593d7c)
- don't crash when no extracted comments (#49) (efad586)
- extract comment conditions is case insensitivity (19e1e43)
- full coverage schema options validation (#8) (68e531e)
- migrate from
@webpack-contrib/schema-utils
to schema-utils
(a5432da)
cpus
length in a chroot environment (os.cpus()
) (#4) (9375646)
Initial publish release
All notable changes to this project will be documented in this file. See standard-version for commit guidelines.