Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: webpack-contrib/terser-webpack-plugin
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: f9c543a9cad51a019aa0b1df0b6423718176e652
Choose a base ref
...
head repository: webpack-contrib/terser-webpack-plugin
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 1f4812c4454247baa3f4e4404944114b876c99ef
Choose a head ref

Commits on Sep 2, 2019

  1. Copy the full SHA
    ec9450c View commit details
  2. Copy the full SHA
    c896de6 View commit details
  3. Copy the full SHA
    4f88a97 View commit details
  4. chore(defaults): update (#127)

    BREAKING CHANGE: minimum require Node.js version is `8.9.0`
    evilebottnawi authored Sep 2, 2019
    Copy the full SHA
    edbd3e0 View commit details
  5. fix: make extractComments API more consistent (#129)

    BREAKING CHANGE: using the `extractComments.condition` option with `true` value extract only `some` comments
    evilebottnawi authored Sep 2, 2019
    Copy the full SHA
    37d2df0 View commit details

Commits on Sep 3, 2019

  1. Copy the full SHA
    41a9fff View commit details
  2. feat: enable the parallel option by default (#131)

    BREAKING CHANGE: the `parallel` option is `true` by default
    evilebottnawi authored Sep 3, 2019
    Copy the full SHA
    7b342af View commit details

Commits on Sep 4, 2019

  1. feat: enable the cache option by default (#132)

    BREAKING CHANGE: the `cache` option is `true` by default
    evilebottnawi authored Sep 4, 2019
    Copy the full SHA
    960d249 View commit details
  2. feat: enable the extractComments option by default

    BREAKING CHANGE: the `extractComments` option is `true` by default
    alexander-akait committed Sep 4, 2019
    Copy the full SHA
    ad2471c View commit details
  3. Copy the full SHA
    84fed6b View commit details
  4. Copy the full SHA
    8b88b39 View commit details

Commits on Sep 5, 2019

  1. docs: fix examples (#135)

    gaokun authored and evilebottnawi committed Sep 5, 2019
    Copy the full SHA
    a169061 View commit details
  2. Copy the full SHA
    cc1c081 View commit details
  3. Copy the full SHA
    527a055 View commit details
  4. Copy the full SHA
    0537591 View commit details
  5. Copy the full SHA
    080baff View commit details
  6. Copy the full SHA
    dd37ca1 View commit details
  7. Copy the full SHA
    dcf875b View commit details
  8. Copy the full SHA
    ae56c17 View commit details
  9. Copy the full SHA
    42a0f9c View commit details

Commits on Sep 6, 2019

  1. Copy the full SHA
    815e533 View commit details
  2. Copy the full SHA
    6613a97 View commit details
  3. Copy the full SHA
    0b9681d View commit details

Commits on Sep 9, 2019

  1. Copy the full SHA
    cf91c43 View commit details

Commits on Sep 12, 2019

  1. docs: clarify default value for sourceMap option (#151)

    See more context here:
    #150
    koggdal authored and evilebottnawi committed Sep 12, 2019
    Copy the full SHA
    5821456 View commit details
  2. Copy the full SHA
    cea7243 View commit details
  3. Copy the full SHA
    5fe3337 View commit details

Commits on Sep 13, 2019

  1. docs: add missing breaking change for 2.0.0 (#155)

    See more in:
    #150
    koggdal authored and evilebottnawi committed Sep 13, 2019
    Copy the full SHA
    efbd383 View commit details
  2. Copy the full SHA
    2b4d2a4 View commit details
  3. Copy the full SHA
    aba8ba7 View commit details

Commits on Sep 16, 2019

  1. refactor: code (#158)

    evilebottnawi authored Sep 16, 2019
    Copy the full SHA
    9bbe824 View commit details
  2. chore(release): 2.1.0

    alexander-akait committed Sep 16, 2019
    Copy the full SHA
    d5df728 View commit details

Commits on Sep 24, 2019

  1. refactor: code (#165)

    evilebottnawi authored Sep 24, 2019
    Copy the full SHA
    6355274 View commit details
  2. Copy the full SHA
    6bdee64 View commit details

Commits on Sep 27, 2019

  1. Copy the full SHA
    62b3677 View commit details
  2. chore(release): 2.1.1

    alexander-akait committed Sep 27, 2019
    Copy the full SHA
    8c68450 View commit details

Commits on Sep 28, 2019

  1. Copy the full SHA
    4c4b1f1 View commit details
  2. chore(release): 2.1.2

    alexander-akait committed Sep 28, 2019
    Copy the full SHA
    f4eec75 View commit details

Commits on Oct 9, 2019

  1. Copy the full SHA
    c2efe18 View commit details

Commits on Oct 10, 2019

  1. Copy the full SHA
    7e1d370 View commit details
  2. chore(release): 2.1.3

    alexander-akait committed Oct 10, 2019
    Copy the full SHA
    92c56ad View commit details

Commits on Oct 21, 2019

  1. Copy the full SHA
    9a0a575 View commit details
  2. Copy the full SHA
    f4c47aa View commit details
  3. Copy the full SHA
    d01c1b5 View commit details
  4. Copy the full SHA
    a11e66b View commit details
  5. Copy the full SHA
    504ea8b View commit details

Commits on Oct 22, 2019

  1. chore(release): 2.2.0

    alexander-akait committed Oct 22, 2019
    Copy the full SHA
    cd80227 View commit details
  2. Copy the full SHA
    0e9b780 View commit details
  3. chore(release): 2.2.1

    alexander-akait committed Oct 22, 2019
    Copy the full SHA
    1b03b6b View commit details

Commits on Dec 6, 2019

  1. Copy the full SHA
    3c80be8 View commit details
Showing with 28,177 additions and 11,789 deletions.
  1. +1 −2 .editorconfig
  2. +95 −0 .github/workflows/nodejs.yml
  3. +1 −5 .prettierrc.js
  4. +167 −0 CHANGELOG.md
  5. +74 −76 README.md
  6. +0 −201 azure-pipelines.yml
  7. +1 −1 babel.config.js
  8. +4 −0 jest.config.js
  9. +2 −2 lint-staged.config.js
  10. +5,184 −3,924 package-lock.json
  11. +46 −44 package.json
  12. +0 −112 src/TaskRunner.js
  13. +35 −0 src/Webpack4Cache.js
  14. +75 −0 src/Webpack5Cache.js
  15. +514 −255 src/index.js
  16. +64 −46 src/minify.js
  17. +45 −44 src/options.json
  18. +0 −21 src/worker.js
  19. +410 −53 test/TerserPlugin.test.js
  20. +0 −89 test/__snapshots__/TerserPlugin.test.js.snap
  21. +395 −0 test/__snapshots__/TerserPlugin.test.js.snap.webpack4
  22. +344 −0 test/__snapshots__/TerserPlugin.test.js.snap.webpack5
  23. +0 −629 test/__snapshots__/cache-option.test.js.snap
  24. +155 −0 test/__snapshots__/cache-option.test.js.snap.webpack4
  25. +0 −108 test/__snapshots__/chunkFilter-option.test.js.snap
  26. +39 −43 test/__snapshots__/{exclude-option.test.js.snap → exclude-option.test.js.snap.webpack4}
  27. +313 −0 test/__snapshots__/exclude-option.test.js.snap.webpack5
  28. +0 −1,924 test/__snapshots__/extractComments-option.test.js.snap
  29. +7,346 −0 test/__snapshots__/extractComments-option.test.js.snap.webpack4
  30. +6,007 −0 test/__snapshots__/extractComments-option.test.js.snap.webpack5
  31. +40 −44 test/__snapshots__/{include-option.test.js.snap → include-option.test.js.snap.webpack4}
  32. +339 −0 test/__snapshots__/include-option.test.js.snap.webpack5
  33. +0 −442 test/__snapshots__/minify-option.test.js.snap
  34. +71 −0 test/__snapshots__/minify-option.test.js.snap.webpack4
  35. +71 −0 test/__snapshots__/minify-option.test.js.snap.webpack5
  36. +0 −231 test/__snapshots__/parallel-option-failure.test.js.snap
  37. +0 −37 test/__snapshots__/parallel-option.test.js.snap
  38. +104 −0 test/__snapshots__/parallel-option.test.js.snap.webpack4
  39. +104 −0 test/__snapshots__/parallel-option.test.js.snap.webpack5
  40. +0 −161 test/__snapshots__/sourceMap-option.test.js.snap
  41. +848 −0 test/__snapshots__/sourceMap-option.test.js.snap.webpack4
  42. +446 −0 test/__snapshots__/sourceMap-option.test.js.snap.webpack5
  43. +0 −153 test/__snapshots__/supports-multicompiler.test.js.snap
  44. +0 −677 test/__snapshots__/terserOptions-option.test.js.snap
  45. +670 −0 test/__snapshots__/terserOptions-option.test.js.snap.webpack4
  46. +460 −0 test/__snapshots__/terserOptions-option.test.js.snap.webpack5
  47. +186 −206 test/__snapshots__/{test-option.test.js.snap → test-option.test.js.snap.webpack4}
  48. +793 −0 test/__snapshots__/test-option.test.js.snap.webpack5
  49. +206 −0 test/__snapshots__/validate-options.test.js.snap.webpack4
  50. +206 −0 test/__snapshots__/validate-options.test.js.snap.webpack5
  51. +0 −209 test/__snapshots__/validation.test.js.snap
  52. +0 −48 test/__snapshots__/warningsFilter-option.test.js.snap
  53. +76 −0 test/__snapshots__/warningsFilter-option.test.js.snap.webpack4
  54. +77 −0 test/__snapshots__/warningsFilter-option.test.js.snap.webpack5
  55. +23 −10 test/__snapshots__/{worker.test.js.snap → worker.test.js.snap.webpack4}
  56. +74 −0 test/__snapshots__/worker.test.js.snap.webpack5
  57. +268 −290 test/cache-option.test.js
  58. +0 −44 test/chunkFilter-option.test.js
  59. +4 −4 test/cjs.test.js
  60. +35 −64 test/exclude-option.test.js
  61. +529 −217 test/extractComments-option.test.js
  62. +2 −0 test/fixtures/comments.js
  63. 0 test/fixtures/empty.js
  64. +1 −0 test/fixtures/shebang-1.js
  65. +3 −0 test/fixtures/shebang.js
  66. +0 −96 test/helpers.js
  67. +16 −0 test/helpers/BrokenCodePlugin.js
  68. +11 −0 test/helpers/compile.js
  69. +9 −0 test/helpers/countPlugins.js
  70. +22 −0 test/helpers/execute.js
  71. +9 −0 test/helpers/getCacheDirectory.js
  72. +39 −0 test/helpers/getCompiler.js
  73. +5 −0 test/helpers/getErrors.js
  74. +5 −0 test/helpers/getWarnings.js
  75. +27 −0 test/helpers/index.js
  76. +19 −0 test/helpers/normalizeErrors.js
  77. +23 −0 test/helpers/readAsset.js
  78. +11 −0 test/helpers/readAssets.js
  79. +11 −0 test/helpers/removeCache.js
  80. +28 −0 test/helpers/snapshotResolver.js
  81. +35 −64 test/include-option.test.js
  82. +52 −130 test/minify-option.test.js
  83. +0 −105 test/parallel-option-failure.test.js
  84. +200 −78 test/parallel-option.test.js
  85. +371 −112 test/sourceMap-option.test.js
  86. +0 −102 test/supports-multicompiler.test.js
  87. +188 −467 test/terserOptions-option.test.js
  88. +58 −99 test/test-option.test.js
  89. +0 −8 test/{validation.test.js → validate-options.test.js}
  90. +53 −66 test/warningsFilter-option.test.js
  91. +32 −46 test/worker.test.js
3 changes: 1 addition & 2 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -9,5 +9,4 @@ insert_final_newline = true
trim_trailing_whitespace = true

[*.md]
insert_final_newline = true
trim_trailing_whitespace = false
trim_trailing_whitespace = false
95 changes: 95 additions & 0 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
name: terser-webpack-plugin

on:
push:
branches:
- master
- next
pull_request:
branches:
- master
- next

jobs:
lint:
name: Lint - ${{ matrix.os }} - Node v${{ matrix.node-version }}

env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

strategy:
matrix:
os: [ubuntu-latest]
node-version: [12.x]

runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0

- name: Use Node.js ${{ env.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ env.node-version }}

- name: Use latest NPM
run: sudo npm i -g npm

- name: Install dependencies
run: npm ci

- name: Lint
run: npm run lint

# - name: Security audit
# run: npm run security

- name: Check commit message
uses: wagoid/commitlint-github-action@v1

test:
name: Test - ${{ matrix.os }} - Node v${{ matrix.node-version }}, Webpack ${{ matrix.webpack-version }}

strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
node-version: [10.x, 12.x, 14.x]
webpack-version: [latest, next]

runs-on: ${{ matrix.os }}

steps:
- name: Setup Git
if: matrix.os == 'windows-latest'
run: git config --global core.autocrlf input

- uses: actions/checkout@v2

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}

- name: Use latest NPM on ubuntu/macos
if: matrix.os == 'ubuntu-latest' || matrix.os == 'macos-latest'
run: sudo npm i -g npm

- name: Use latest NPM on windows
if: matrix.os == 'windows-latest'
run: npm i -g npm

- name: Install dependencies
run: npm ci

- name: Install webpack ${{ matrix.webpack-version }}
run: npm i webpack@${{ matrix.webpack-version }}

- name: Run tests for webpack version ${{ matrix.webpack-version }}
run: npm run test:coverage -- --ci

- name: Submit coverage data to codecov
uses: codecov/codecov-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}
6 changes: 1 addition & 5 deletions .prettierrc.js
Original file line number Diff line number Diff line change
@@ -1,5 +1 @@
module.exports = {
singleQuote: true,
trailingComma: 'es5',
arrowParens: 'always',
};
module.exports = { singleQuote: true };
167 changes: 167 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -2,6 +2,173 @@

All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.

## [3.0.0](https://github.com/webpack-contrib/terser-webpack-plugin/compare/v2.3.6...v3.0.0) (2020-05-01)


### ⚠ BREAKING CHANGES

* 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

### [2.3.6](https://github.com/webpack-contrib/terser-webpack-plugin/compare/v2.3.5...v2.3.6) (2020-04-25)


### Bug Fixes

* preserve `@license` comments starting with `//` ([d3f0c81](https://github.com/webpack-contrib/terser-webpack-plugin/commit/d3f0c811672920b658edaa99815de9204716fa21))

### [2.3.5](https://github.com/webpack-contrib/terser-webpack-plugin/compare/v2.3.4...v2.3.5) (2020-02-14)


### Bug Fixes

* do not break code with shebang ([fac58cb](https://github.com/webpack-contrib/terser-webpack-plugin/commit/fac58cb1ee7935710b3b38662c3abbf8dc12a862))

### [2.3.4](https://github.com/webpack-contrib/terser-webpack-plugin/compare/v2.3.3...v2.3.4) (2020-01-30)


### Bug Fixes

* respect stdout and stderr of workers and do not create warnings ([#215](https://github.com/webpack-contrib/terser-webpack-plugin/issues/215)) ([5708574](https://github.com/webpack-contrib/terser-webpack-plugin/commit/5708574d3337158a02d60a81275467900da5f42d))
* use webpack hash options rather than hard-code MD4 ([#213](https://github.com/webpack-contrib/terser-webpack-plugin/issues/213)) ([330c1f6](https://github.com/webpack-contrib/terser-webpack-plugin/commit/330c1f6cf3468fd6312e86960b272df1591f1a64))

### [2.3.3](https://github.com/webpack-contrib/terser-webpack-plugin/compare/v2.3.2...v2.3.3) (2020-01-28)


### Bug Fixes

* license files now have .txt suffix by default ([#210](https://github.com/webpack-contrib/terser-webpack-plugin/issues/210)) ([de02f7b](https://github.com/webpack-contrib/terser-webpack-plugin/commit/de02f7b229a6ef91baa353681b1c546784672ab6))
* reduce memory usage ([abfd950](https://github.com/webpack-contrib/terser-webpack-plugin/commit/abfd9506207cf392de63a0629de82145efff2361))

### [2.3.2](https://github.com/webpack-contrib/terser-webpack-plugin/compare/v2.3.1...v2.3.2) (2020-01-09)


### Bug Fixes

* show error message from jest-worker ([#203](https://github.com/webpack-contrib/terser-webpack-plugin/issues/203)) ([3b28007](https://github.com/webpack-contrib/terser-webpack-plugin/commit/3b280070cde3b233ae703fe2e0ac75b350cb2da7))

### [2.3.1](https://github.com/webpack-contrib/terser-webpack-plugin/compare/v2.3.0...v2.3.1) (2019-12-17)


### Bug Fixes

* performance ([#200](https://github.com/webpack-contrib/terser-webpack-plugin/issues/200)) ([d2acd75](https://github.com/webpack-contrib/terser-webpack-plugin/commit/d2acd75f4b630af38d2c272f800e755fe395b2dd))

## [2.3.0](https://github.com/webpack-contrib/terser-webpack-plugin/compare/v2.2.3...v2.3.0) (2019-12-12)


### Features

* support webpack@5 cache ([3649b3d](https://github.com/webpack-contrib/terser-webpack-plugin/commit/3649b3d0bf697288661676b47b33ae88226eb6f5))

### [2.2.3](https://github.com/webpack-contrib/terser-webpack-plugin/compare/v2.2.2...v2.2.3) (2019-12-11)

### SECURITY

* update `serialize-javascript` to `2.1.2` version.

### [2.2.2](https://github.com/webpack-contrib/terser-webpack-plugin/compare/v2.2.1...v2.2.2) (2019-12-06)


### SECURITY

* update `serialize-javascript` to `2.1.1` version.

### [2.2.1](https://github.com/webpack-contrib/terser-webpack-plugin/compare/v2.2.0...v2.2.1) (2019-10-22)


### Bug Fixes

* get rid deprecation warnings for webpack@5 ([#181](https://github.com/webpack-contrib/terser-webpack-plugin/issues/181)) ([0e9b780](https://github.com/webpack-contrib/terser-webpack-plugin/commit/0e9b780390826a9b9f58368f24b39452ca34f00e))

## [2.2.0](https://github.com/webpack-contrib/terser-webpack-plugin/compare/v2.1.3...v2.2.0) (2019-10-22)


### Features

* map `webpack@5` options to `terser` options ([#177](https://github.com/webpack-contrib/terser-webpack-plugin/issues/177)) ([f4c47aa](https://github.com/webpack-contrib/terser-webpack-plugin/commit/f4c47aa0e3de27bbab3ae0a90a461841bbce5988))
* pass an asset path for the `warningsFilter` option ([#176](https://github.com/webpack-contrib/terser-webpack-plugin/issues/176)) ([9a0a575](https://github.com/webpack-contrib/terser-webpack-plugin/commit/9a0a575585be21118cb4e3611d30e665a6337c3d))
* propagate an error stacktrace from `terser` ([#179](https://github.com/webpack-contrib/terser-webpack-plugin/issues/179)) ([a11e66b](https://github.com/webpack-contrib/terser-webpack-plugin/commit/a11e66b17ae2bb146ded4e64c948d5eece834378))
* enable the `sourceMap` option when the `SourceMapDevToolPlugin` plugin used (non cheap) ([#178](https://github.com/webpack-contrib/terser-webpack-plugin/issues/178)) ([d01c1b5](https://github.com/webpack-contrib/terser-webpack-plugin/commit/d01c1b5fef7f0593c91c1be3d4eb36220c3f465d))


### Bug Fixes

* get rid deprecation warnings for `webpack@5` ([#180](https://github.com/webpack-contrib/terser-webpack-plugin/issues/180)) ([504ea8b](https://github.com/webpack-contrib/terser-webpack-plugin/commit/504ea8b2017e6fa9b8a5f2123025ee5b7b4d80b1))

### [2.1.3](https://github.com/webpack-contrib/terser-webpack-plugin/compare/v2.1.2...v2.1.3) (2019-10-10)


### Bug Fixes

* invalidate cache when a file name was changed ([#171](https://github.com/webpack-contrib/terser-webpack-plugin/issues/171)) ([7e1d370](https://github.com/webpack-contrib/terser-webpack-plugin/commit/7e1d370ce2520c7c23689c19b22cfbea0265957e))

### [2.1.2](https://github.com/webpack-contrib/terser-webpack-plugin/compare/v2.1.1...v2.1.2) (2019-09-28)


### Bug Fixes

* regexp for `some` comments ([#168](https://github.com/webpack-contrib/terser-webpack-plugin/issues/168)) ([4c4b1f1](https://github.com/webpack-contrib/terser-webpack-plugin/commit/4c4b1f1))

### [2.1.1](https://github.com/webpack-contrib/terser-webpack-plugin/compare/v2.1.0...v2.1.1) (2019-09-27)


### Bug Fixes

* logic for extracting and preserving comments ([#166](https://github.com/webpack-contrib/terser-webpack-plugin/issues/166)) ([6bdee64](https://github.com/webpack-contrib/terser-webpack-plugin/commit/6bdee64))

## [2.1.0](https://github.com/webpack-contrib/terser-webpack-plugin/compare/v2.0.1...v2.1.0) (2019-09-16)


### Bug Fixes

* correct interpretation url for extracted comment file ([#157](https://github.com/webpack-contrib/terser-webpack-plugin/issues/157)) ([aba8ba7](https://github.com/webpack-contrib/terser-webpack-plugin/commit/aba8ba7))


### Features

* emit warning when comment file conlict with an existing asset ([#156](https://github.com/webpack-contrib/terser-webpack-plugin/issues/156)) ([2b4d2a4](https://github.com/webpack-contrib/terser-webpack-plugin/commit/2b4d2a4))
* improve naming of extracted file with comments ([#154](https://github.com/webpack-contrib/terser-webpack-plugin/issues/154)) ([5fe3337](https://github.com/webpack-contrib/terser-webpack-plugin/commit/5fe3337))

### [2.0.1](https://github.com/webpack-contrib/terser-webpack-plugin/compare/v2.0.0...v2.0.1) (2019-09-06)


### Bug Fixes

* reduce memory usage ([#145](https://github.com/webpack-contrib/terser-webpack-plugin/issues/145)) ([815e533](https://github.com/webpack-contrib/terser-webpack-plugin/commit/815e533))
* revert do not run parallel mode when you have only one file ([#146](https://github.com/webpack-contrib/terser-webpack-plugin/issues/146)) ([6613a97](https://github.com/webpack-contrib/terser-webpack-plugin/commit/6613a97))

## [2.0.0](https://github.com/webpack-contrib/terser-webpack-plugin/compare/v1.4.1...v2.0.0) (2019-09-05)


### ⚠ BREAKING CHANGES

* 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


### Bug Fixes

* do not run parallel mode when you have only one file ([#134](https://github.com/webpack-contrib/terser-webpack-plugin/issues/134)) ([8b88b39](https://github.com/webpack-contrib/terser-webpack-plugin/commit/8b88b39))
* make `extractComments` API more consistent ([#129](https://github.com/webpack-contrib/terser-webpack-plugin/issues/129)) ([37d2df0](https://github.com/webpack-contrib/terser-webpack-plugin/commit/37d2df0))
* parallel on wsl ([#138](https://github.com/webpack-contrib/terser-webpack-plugin/issues/138)) ([0537591](https://github.com/webpack-contrib/terser-webpack-plugin/commit/0537591))


### Features

* enable the cache option by default ([#132](https://github.com/webpack-contrib/terser-webpack-plugin/issues/132)) ([960d249](https://github.com/webpack-contrib/terser-webpack-plugin/commit/960d249))
* enable the extractComments option by default ([ad2471c](https://github.com/webpack-contrib/terser-webpack-plugin/commit/ad2471c))
* enable the parallel option by default ([#131](https://github.com/webpack-contrib/terser-webpack-plugin/issues/131)) ([7b342af](https://github.com/webpack-contrib/terser-webpack-plugin/commit/7b342af))
* respect `devtool` values for source map generation ([#140](https://github.com/webpack-contrib/terser-webpack-plugin/issues/140)) ([dd37ca1](https://github.com/webpack-contrib/terser-webpack-plugin/commit/dd37ca1))

### [1.4.1](https://github.com/webpack-contrib/terser-webpack-plugin/compare/v1.4.0...v1.4.1) (2019-07-31)


Loading