All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
5.3.11 (2024-12-13)
- avoid the deprecation message (0341ad1)
5.3.10 (2023-12-28)
5.3.9 (2023-05-17)
5.3.8 (2023-05-06)
5.3.7 (2023-03-08)
5.3.6 (2022-08-29)
5.3.5 (2022-08-16)
5.3.4 (2022-08-12)
5.3.3 (2022-06-02)
- fix broken release
5.3.2 (2022-06-02)
- switched to
@jridgewell/source-map
for error generation
5.3.1 (2022-02-01)
5.3.0 (2021-12-16)
- removed cjs wrapper and generated types in commonjs format (
export =
andnamespaces
used in types), now you can directly use exported types (#463) (34fadde)
5.2.5 (2021-11-08)
- output readable esbuild warnings (9431b32)
5.2.4 (2021-09-09)
5.2.3 (2021-09-03)
- types for the
extractComments
option (#444) (14e5cbf) - unknown default type for terser (#445) (04f4d6d)
5.2.2 (2021-09-03)
- types for optional dependencies have been removed in favor of the options provided by the developer (potential breaking change for types due invalid usage), please look at example (d7ea08f)
5.2.1 (2021-09-02)
5.2.0 (2021-08-31)
- due
terser-webpack-plugin
has its own types now,@types/terser-webpack-plugin
should be not used anymore, also@types/terser-webpack-plugin
is not compatible and has wrong types
- added
esbuild
minimizer (#426) (40f4f55) - added
swc
minimizer (0551a9b) - added
uglify-js
minimizer (#425) (69e9592) - added built-in typescript types (0a7cc94)
- output links and descriptions on error (#413) (bc95af5)
5.1.4 (2021-06-25)
- update
serialize-javascript
5.1.3 (2021-05-31)
- update
jest-worker
5.1.2 (2021-05-12)
5.1.1 (2021-01-09)
5.1.0 (2021-01-08)
5.0.3 (2020-10-28)
5.0.2 (2020-10-27)
- compatibility with the
format
option forterser
(b944353)
5.0.1 (2020-10-23)
- improved performance (we strongly recommend using latest LTS releases) (#345) (95f3418)
- used
worker_thread
where is it possible (#344) (3c50404) - fixed terser options for es module (a12730f)
5.0.0 (2020-10-14)
- webpack@4 no longer supported
- removed the
cache
option - removed the
cacheKeys
option - removed the
sourceMap
option (respect thedevtool
option by default)
- reduce deps
- performance improvement
4.2.3 (2020-10-07)
4.2.2 (2020-09-19)
- related asset info (a75dc8b)
4.2.1 (2020-09-15)
4.2.0 (2020-09-11)
4.1.0 (2020-08-10)
- pass license files as related assets for webpack@5 (7d3ae95)
- compatibility with
10.13
version ofNode.js
4.0.0 (2020-08-04)
- the
warningsFilter
option was removed without replacement, terser
version is5
,- return value of the
minify
option was changed, onlycode
/map
/extractedComments
are valid
- improved compatibility with webpack@5
3.1.0 (2020-08-03)
- compatibility cache feature with webpack@5 (5d2bd29)
- skip double compression for child compilation (37cc813)
3.0.8 (2020-07-27)
- compatibility with child compilations (9da4add)
3.0.7 (2020-07-16)
- uglify additional assets (100e38e)
3.0.6 (2020-06-18)
- do not crash on buffer assets (3c67023)
3.0.5 (2020-06-15)
- multi-compiler crash (f6499af)
3.0.4 (2020-06-13)
- update
p-limit
andserialize-javascript
packages
3.0.3 (2020-06-03)
3.0.2 (2020-05-26)
3.0.1 (2020-05-06)
- parallelism in multi compilation mode (0ee7ed2)
- remove redundant code for the
chunkFilter
option (#243) (7220734)
3.0.0 (2020-05-01)
- minimum supported Node.js version is
10.13
- the
chunkFilter
was removed, please usetest
/include
/exclude
options - change arguments order for the
warningFilter
option fromFunction<(warning, file, source) -> Boolean>
toFunction<(file, warning, source) -> Boolean>
- when the
extractComments.filename
option is a function it pass only one argument and it is object withfilename
,basename
,query
andhash
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
2.3.6 (2020-04-25)
- preserve
@license
comments starting with//
(d3f0c81)
2.3.5 (2020-02-14)
- do not break code with shebang (fac58cb)
2.3.4 (2020-01-30)
- respect stdout and stderr of workers and do not create warnings (#215) (5708574)
- use webpack hash options rather than hard-code MD4 (#213) (330c1f6)
2.3.3 (2020-01-28)
2.3.2 (2020-01-09)
2.3.1 (2019-12-17)
2.3.0 (2019-12-12)
- support webpack@5 cache (3649b3d)
2.2.3 (2019-12-11)
- update
serialize-javascript
to2.1.2
version.
2.2.2 (2019-12-06)
- update
serialize-javascript
to2.1.1
version.
2.2.1 (2019-10-22)
2.2.0 (2019-10-22)
- map
webpack@5
options toterser
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 theSourceMapDevToolPlugin
plugin used (non cheap) (#178) (d01c1b5)
2.1.3 (2019-10-10)
2.1.2 (2019-09-28)
2.1.1 (2019-09-27)
2.1.0 (2019-09-16)
- emit warning when comment file conlict with an existing asset (#156) (2b4d2a4)
- improve naming of extracted file with comments (#154) (5fe3337)
2.0.1 (2019-09-06)
- reduce memory usage (#145) (815e533)
- revert do not run parallel mode when you have only one file (#146) (6613a97)
2.0.0 (2019-09-05)
- minimum require Node.js version is
8.9.0
- the
extractComments
option istrue
by default - the
cache
option istrue
by default - the
parallel
option istrue
by default - using the
extractComments.condition
option withtrue
value extract onlysome
comments - the
sourceMap
option now defaults to depending on thedevtool
Webpack option
- do not run parallel mode when you have only one file (#134) (8b88b39)
- make
extractComments
API more consistent (#129) (37d2df0) - parallel on wsl (#138) (0537591)
- 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)
1.4.1 (2019-07-31)
1.4.0 (2019-07-31)
1.3.0 (2019-05-24)
1.2.4 (2019-05-15)
1.2.3 (2019-02-25)
- invalidate cache after changing node version (675edfd)
1.2.2 (2019-02-04)
1.2.1 (2018-12-27)
1.2.0 (2018-12-22)
chunks
is aSet
in webpack@5 (#19) (df8c425)- catch
work-farm
errors (#35) (2bdcd38) - dedupe extracted comments (#40) (7f4a159)
- more consistent cache (#43) (36f5f3c)
- regenerate
contenthash
when assets was uglified (#44) (7e6f8b1)
1.1.0 (2018-09-14)
- extract comment conditions is case insensitivity (19e1e43)
1.0.2 (2018-08-16)
- migrate from
@webpack-contrib/schema-utils
toschema-utils
(a5432da)
1.0.1 (2018-08-15)
Initial publish release
All notable changes to this project will be documented in this file. See standard-version for commit guidelines.