Changelog
All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
5.3.6 (2022-08-29)
Bug Fixes
5.3.5 (2022-08-16)
Bug Fixes
5.3.4 (2022-08-12)
Bug Fixes
5.3.3 (2022-06-02)
Fixes
- fix broken release
5.3.2 (2022-06-02)
Chore
- switched to
@jridgewell/source-map
for error generation
5.3.1 (2022-02-01)
Bug Fixes
5.3.0 (2021-12-16)
Features
- 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)
Bug Fixes
- output readable esbuild warnings (9431b32)
5.2.4 (2021-09-09)
Bug Fixes
5.2.3 (2021-09-03)
Bug Fixes
- types for the
extractComments
option (#444) (14e5cbf) - unknown default type for terser (#445) (04f4d6d)
5.2.2 (2021-09-03)
Bug Fixes
- 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)
Bug Fixes
5.2.0 (2021-08-31)
Notes
- 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
Features
- 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)
Chore
- update
jest-worker
5.1.2 (2021-05-12)
Bug Fixes
5.1.1 (2021-01-09)
Bug Fixes
5.1.0 (2021-01-08)
Features
5.0.3 (2020-10-28)
Bug Fixes
5.0.2 (2020-10-27)
Bug Fixes
- compatibility with the
format
option forterser
(b944353)
5.0.1 (2020-10-23)
Bug Fixes
- 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)
⚠ BREAKING CHANGES
- webpack@4 no longer supported
- removed the
cache
option - removed the
cacheKeys
option - removed the
sourceMap
option (respect thedevtool
option by default)
Bug Fixes
- reduce deps
- performance improvement
4.2.3 (2020-10-07)
Bug Fixes
4.2.2 (2020-09-19)
Bug Fixes
- related asset info (a75dc8b)
4.2.1 (2020-09-15)
Bug Fixes
4.2.0 (2020-09-11)
Features
Bug Fixes
4.1.0 (2020-08-10)
Features
- pass license files as related assets for webpack@5 (7d3ae95)
Bug Fixes
- compatibility with
10.13
version ofNode.js
4.0.0 (2020-08-04)
⚠ BREAKING CHANGES
- the
warningsFilter
option was removed without replacement, terser
version is5
,- return value of the
minify
option was changed, onlycode
/map
/extractedComments
are valid
Features
- improved compatibility with webpack@5
3.1.0 (2020-08-03)
Features
Bug Fixes
- compatibility cache feature with webpack@5 (5d2bd29)
- skip double compression for child compilation (37cc813)
3.0.8 (2020-07-27)
Bug Fixes
- compatibility with child compilations (9da4add)
3.0.7 (2020-07-16)
Bug Fixes
- uglify additional assets (100e38e)
3.0.6 (2020-06-18)
Bug Fixes
- do not crash on buffer assets (3c67023)
3.0.5 (2020-06-15)
Bug Fixes
- multi-compiler crash (f6499af)
3.0.4 (2020-06-13)
Chore
- update
p-limit
andserialize-javascript
packages
3.0.3 (2020-06-03)
Bug Fixes
3.0.2 (2020-05-26)
Bug Fixes
3.0.1 (2020-05-06)
Bug Fixes
- parallelism in multi compilation mode (0ee7ed2)
- remove redundant code for the
chunkFilter
option (#243) (7220734)
3.0.0 (2020-05-01)
⚠ BREAKING CHANGES
- 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)
Bug Fixes
- preserve
@license
comments starting with//
(d3f0c81)
2.3.5 (2020-02-14)
Bug Fixes
- do not break code with shebang (fac58cb)
2.3.4 (2020-01-30)
Bug Fixes
- 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)
Bug Fixes
2.3.2 (2020-01-09)
Bug Fixes
2.3.1 (2019-12-17)
Bug Fixes
2.3.0 (2019-12-12)
Features
- support webpack@5 cache (3649b3d)
2.2.3 (2019-12-11)
SECURITY
- update
serialize-javascript
to2.1.2
version.
2.2.2 (2019-12-06)
SECURITY
- update
serialize-javascript
to2.1.1
version.
2.2.1 (2019-10-22)
Bug Fixes
2.2.0 (2019-10-22)
Features
- 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)
Bug Fixes
2.1.3 (2019-10-10)
Bug Fixes
2.1.2 (2019-09-28)
Bug Fixes
2.1.1 (2019-09-27)
Bug Fixes
2.1.0 (2019-09-16)
Bug Fixes
Features
- 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)
Bug Fixes
- 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)
⚠ BREAKING CHANGES
- 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
Bug Fixes
- 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)
Features
- 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)
Bug Fixes
1.4.0 (2019-07-31)
Features
1.3.0 (2019-05-24)
Features
1.2.4 (2019-05-15)
Bug Fixes
1.2.3 (2019-02-25)
Bug Fixes
- invalidate cache after changing node version (675edfd)
1.2.2 (2019-02-04)
Bug Fixes
1.2.1 (2018-12-27)
Bug Fixes
1.2.0 (2018-12-22)
Bug Fixes
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)
Features
1.1.0 (2018-09-14)
Bug Fixes
- extract comment conditions is case insensitivity (19e1e43)
Features
1.0.2 (2018-08-16)
Internal
- migrate from
@webpack-contrib/schema-utils
toschema-utils
(a5432da)
1.0.1 (2018-08-15)
Bug Fixes
1.0.0 (2018-08-02)
Initial publish release
Change Log
All notable changes to this project will be documented in this file. See standard-version for commit guidelines.