├── .cspell.json ├── .editorconfig ├── .gitattributes ├── .github └── workflows │ ├── dependency-review.yml │ └── nodejs.yml ├── .gitignore ├── .husky ├── commit-msg └── pre-commit ├── .prettierignore ├── CHANGELOG.md ├── LICENSE ├── README.md ├── babel.config.js ├── commitlint.config.js ├── eslint.config.mjs ├── jest.config.js ├── lint-staged.config.js ├── package.json ├── src ├── index.js ├── minify.js ├── options.json └── utils.js ├── test ├── TerserPlugin.test.js ├── __snapshots__ │ ├── TerserPlugin.test.js.snap │ ├── exclude-option.test.js.snap │ ├── extractComments-option.test.js.snap │ ├── include-option.test.js.snap │ ├── minify-option.test.js.snap │ ├── parallel-option.test.js.snap │ ├── terserOptions-option.test.js.snap │ ├── test-option.test.js.snap │ ├── validate-options.test.js.snap │ └── worker.test.js.snap ├── exclude-option.test.js ├── extractComments-option.test.js ├── fixtures │ ├── asset-resource.js │ ├── async-import-export │ │ ├── async-dep.js │ │ └── entry.js │ ├── cache-1.js │ ├── cache-2.js │ ├── cache-3.js │ ├── cache-4.js │ ├── cache.js │ ├── comments-2.js │ ├── comments-3.js │ ├── comments-4.js │ ├── comments.js │ ├── copy.cjs │ ├── copy.js │ ├── copy.mjs │ ├── ecma-5 │ │ └── entry.js │ ├── ecma-6 │ │ └── entry.js │ ├── ecma-7 │ │ └── entry.js │ ├── ecma-8 │ │ └── entry.js │ ├── emit-loader.js │ ├── emitted.js │ ├── empty.js │ ├── entry.js │ ├── entry.mjs │ ├── excluded1.js │ ├── excluded2.js │ ├── file-loader.js │ ├── file.js │ ├── file.worker.js │ ├── import-export │ │ ├── async-dep.js │ │ ├── dep.js │ │ └── entry.js │ ├── included1.js │ ├── included2.js │ ├── inline-optimization.js │ ├── minify │ │ ├── es5.js │ │ └── es6.js │ ├── nested │ │ └── comments.js │ ├── shebang-1.js │ ├── shebang.js │ ├── unreachable-code-2.js │ ├── unreachable-code.js │ ├── warning.js │ └── worker-loader.js ├── helpers │ ├── BrokenCodePlugin.js │ ├── EmitNewAsset.js │ ├── ExistingCommentsFile.js │ ├── ModifyExistingAsset.js │ ├── compile.js │ ├── countPlugins.js │ ├── execute.js │ ├── getCompiler.js │ ├── getErrors.js │ ├── getWarnings.js │ ├── index.js │ ├── normalizeErrors.js │ ├── readAsset.js │ ├── readAssets.js │ └── snapshotResolver.js ├── include-option.test.js ├── minify-option.test.js ├── parallel-option.test.js ├── terserOptions-option.test.js ├── test-option.test.js ├── validate-options.test.js └── worker.test.js ├── tsconfig.json └── types ├── index.d.ts ├── minify.d.ts └── utils.d.ts /.cspell.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webpack/terser-webpack-plugin/HEAD/.cspell.json -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webpack/terser-webpack-plugin/HEAD/.editorconfig -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webpack/terser-webpack-plugin/HEAD/.gitattributes -------------------------------------------------------------------------------- /.github/workflows/dependency-review.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webpack/terser-webpack-plugin/HEAD/.github/workflows/dependency-review.yml -------------------------------------------------------------------------------- /.github/workflows/nodejs.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webpack/terser-webpack-plugin/HEAD/.github/workflows/nodejs.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webpack/terser-webpack-plugin/HEAD/.gitignore -------------------------------------------------------------------------------- /.husky/commit-msg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webpack/terser-webpack-plugin/HEAD/.husky/commit-msg -------------------------------------------------------------------------------- /.husky/pre-commit: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webpack/terser-webpack-plugin/HEAD/.husky/pre-commit -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- 1 | /coverage 2 | /dist 3 | /node_modules 4 | /test/fixtures 5 | CHANGELOG.md -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webpack/terser-webpack-plugin/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webpack/terser-webpack-plugin/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webpack/terser-webpack-plugin/HEAD/README.md -------------------------------------------------------------------------------- /babel.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webpack/terser-webpack-plugin/HEAD/babel.config.js -------------------------------------------------------------------------------- /commitlint.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webpack/terser-webpack-plugin/HEAD/commitlint.config.js -------------------------------------------------------------------------------- /eslint.config.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webpack/terser-webpack-plugin/HEAD/eslint.config.mjs -------------------------------------------------------------------------------- /jest.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | testEnvironment: "node", 3 | }; 4 | -------------------------------------------------------------------------------- /lint-staged.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webpack/terser-webpack-plugin/HEAD/lint-staged.config.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webpack/terser-webpack-plugin/HEAD/package.json -------------------------------------------------------------------------------- /src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webpack/terser-webpack-plugin/HEAD/src/index.js -------------------------------------------------------------------------------- /src/minify.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webpack/terser-webpack-plugin/HEAD/src/minify.js -------------------------------------------------------------------------------- /src/options.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webpack/terser-webpack-plugin/HEAD/src/options.json -------------------------------------------------------------------------------- /src/utils.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webpack/terser-webpack-plugin/HEAD/src/utils.js -------------------------------------------------------------------------------- /test/TerserPlugin.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webpack/terser-webpack-plugin/HEAD/test/TerserPlugin.test.js -------------------------------------------------------------------------------- /test/__snapshots__/TerserPlugin.test.js.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webpack/terser-webpack-plugin/HEAD/test/__snapshots__/TerserPlugin.test.js.snap -------------------------------------------------------------------------------- /test/__snapshots__/exclude-option.test.js.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webpack/terser-webpack-plugin/HEAD/test/__snapshots__/exclude-option.test.js.snap -------------------------------------------------------------------------------- /test/__snapshots__/extractComments-option.test.js.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webpack/terser-webpack-plugin/HEAD/test/__snapshots__/extractComments-option.test.js.snap -------------------------------------------------------------------------------- /test/__snapshots__/include-option.test.js.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webpack/terser-webpack-plugin/HEAD/test/__snapshots__/include-option.test.js.snap -------------------------------------------------------------------------------- /test/__snapshots__/minify-option.test.js.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webpack/terser-webpack-plugin/HEAD/test/__snapshots__/minify-option.test.js.snap -------------------------------------------------------------------------------- /test/__snapshots__/parallel-option.test.js.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webpack/terser-webpack-plugin/HEAD/test/__snapshots__/parallel-option.test.js.snap -------------------------------------------------------------------------------- /test/__snapshots__/terserOptions-option.test.js.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webpack/terser-webpack-plugin/HEAD/test/__snapshots__/terserOptions-option.test.js.snap -------------------------------------------------------------------------------- /test/__snapshots__/test-option.test.js.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webpack/terser-webpack-plugin/HEAD/test/__snapshots__/test-option.test.js.snap -------------------------------------------------------------------------------- /test/__snapshots__/validate-options.test.js.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webpack/terser-webpack-plugin/HEAD/test/__snapshots__/validate-options.test.js.snap -------------------------------------------------------------------------------- /test/__snapshots__/worker.test.js.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webpack/terser-webpack-plugin/HEAD/test/__snapshots__/worker.test.js.snap -------------------------------------------------------------------------------- /test/exclude-option.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webpack/terser-webpack-plugin/HEAD/test/exclude-option.test.js -------------------------------------------------------------------------------- /test/extractComments-option.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webpack/terser-webpack-plugin/HEAD/test/extractComments-option.test.js -------------------------------------------------------------------------------- /test/fixtures/asset-resource.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webpack/terser-webpack-plugin/HEAD/test/fixtures/asset-resource.js -------------------------------------------------------------------------------- /test/fixtures/async-import-export/async-dep.js: -------------------------------------------------------------------------------- 1 | export default "async-dep"; 2 | -------------------------------------------------------------------------------- /test/fixtures/async-import-export/entry.js: -------------------------------------------------------------------------------- 1 | import("./async-dep").then(() => { 2 | console.log('Good') 3 | }); 4 | 5 | export default "Awesome"; 6 | -------------------------------------------------------------------------------- /test/fixtures/cache-1.js: -------------------------------------------------------------------------------- 1 | module.exports = 'string'; 2 | -------------------------------------------------------------------------------- /test/fixtures/cache-2.js: -------------------------------------------------------------------------------- 1 | module.exports = () => { return /test/ }; 2 | -------------------------------------------------------------------------------- /test/fixtures/cache-3.js: -------------------------------------------------------------------------------- 1 | module.exports = class A {}; 2 | -------------------------------------------------------------------------------- /test/fixtures/cache-4.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webpack/terser-webpack-plugin/HEAD/test/fixtures/cache-4.js -------------------------------------------------------------------------------- /test/fixtures/cache.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webpack/terser-webpack-plugin/HEAD/test/fixtures/cache.js -------------------------------------------------------------------------------- /test/fixtures/comments-2.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webpack/terser-webpack-plugin/HEAD/test/fixtures/comments-2.js -------------------------------------------------------------------------------- /test/fixtures/comments-3.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webpack/terser-webpack-plugin/HEAD/test/fixtures/comments-3.js -------------------------------------------------------------------------------- /test/fixtures/comments-4.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webpack/terser-webpack-plugin/HEAD/test/fixtures/comments-4.js -------------------------------------------------------------------------------- /test/fixtures/comments.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webpack/terser-webpack-plugin/HEAD/test/fixtures/comments.js -------------------------------------------------------------------------------- /test/fixtures/copy.cjs: -------------------------------------------------------------------------------- 1 | var foo = 12; 2 | console.log(foo); 3 | -------------------------------------------------------------------------------- /test/fixtures/copy.js: -------------------------------------------------------------------------------- 1 | var foo = 12; 2 | console.log(foo); 3 | -------------------------------------------------------------------------------- /test/fixtures/copy.mjs: -------------------------------------------------------------------------------- 1 | var foo = 12; 2 | console.log(foo); 3 | -------------------------------------------------------------------------------- /test/fixtures/ecma-5/entry.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webpack/terser-webpack-plugin/HEAD/test/fixtures/ecma-5/entry.js -------------------------------------------------------------------------------- /test/fixtures/ecma-6/entry.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webpack/terser-webpack-plugin/HEAD/test/fixtures/ecma-6/entry.js -------------------------------------------------------------------------------- /test/fixtures/ecma-7/entry.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webpack/terser-webpack-plugin/HEAD/test/fixtures/ecma-7/entry.js -------------------------------------------------------------------------------- /test/fixtures/ecma-8/entry.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webpack/terser-webpack-plugin/HEAD/test/fixtures/ecma-8/entry.js -------------------------------------------------------------------------------- /test/fixtures/emit-loader.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webpack/terser-webpack-plugin/HEAD/test/fixtures/emit-loader.js -------------------------------------------------------------------------------- /test/fixtures/emitted.js: -------------------------------------------------------------------------------- 1 | console.log('HERE'); 2 | -------------------------------------------------------------------------------- /test/fixtures/empty.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/fixtures/entry.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webpack/terser-webpack-plugin/HEAD/test/fixtures/entry.js -------------------------------------------------------------------------------- /test/fixtures/entry.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webpack/terser-webpack-plugin/HEAD/test/fixtures/entry.mjs -------------------------------------------------------------------------------- /test/fixtures/excluded1.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webpack/terser-webpack-plugin/HEAD/test/fixtures/excluded1.js -------------------------------------------------------------------------------- /test/fixtures/excluded2.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webpack/terser-webpack-plugin/HEAD/test/fixtures/excluded2.js -------------------------------------------------------------------------------- /test/fixtures/file-loader.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webpack/terser-webpack-plugin/HEAD/test/fixtures/file-loader.js -------------------------------------------------------------------------------- /test/fixtures/file.js: -------------------------------------------------------------------------------- 1 | module.exports = "ok"; 2 | -------------------------------------------------------------------------------- /test/fixtures/file.worker.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webpack/terser-webpack-plugin/HEAD/test/fixtures/file.worker.js -------------------------------------------------------------------------------- /test/fixtures/import-export/async-dep.js: -------------------------------------------------------------------------------- 1 | export default "async-dep"; 2 | -------------------------------------------------------------------------------- /test/fixtures/import-export/dep.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webpack/terser-webpack-plugin/HEAD/test/fixtures/import-export/dep.js -------------------------------------------------------------------------------- /test/fixtures/import-export/entry.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webpack/terser-webpack-plugin/HEAD/test/fixtures/import-export/entry.js -------------------------------------------------------------------------------- /test/fixtures/included1.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webpack/terser-webpack-plugin/HEAD/test/fixtures/included1.js -------------------------------------------------------------------------------- /test/fixtures/included2.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webpack/terser-webpack-plugin/HEAD/test/fixtures/included2.js -------------------------------------------------------------------------------- /test/fixtures/inline-optimization.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | !function(){ console.log(42); }(); 4 | -------------------------------------------------------------------------------- /test/fixtures/minify/es5.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webpack/terser-webpack-plugin/HEAD/test/fixtures/minify/es5.js -------------------------------------------------------------------------------- /test/fixtures/minify/es6.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webpack/terser-webpack-plugin/HEAD/test/fixtures/minify/es6.js -------------------------------------------------------------------------------- /test/fixtures/nested/comments.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webpack/terser-webpack-plugin/HEAD/test/fixtures/nested/comments.js -------------------------------------------------------------------------------- /test/fixtures/shebang-1.js: -------------------------------------------------------------------------------- 1 | console.log('HERE'); 2 | -------------------------------------------------------------------------------- /test/fixtures/shebang.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webpack/terser-webpack-plugin/HEAD/test/fixtures/shebang.js -------------------------------------------------------------------------------- /test/fixtures/unreachable-code-2.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webpack/terser-webpack-plugin/HEAD/test/fixtures/unreachable-code-2.js -------------------------------------------------------------------------------- /test/fixtures/unreachable-code.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webpack/terser-webpack-plugin/HEAD/test/fixtures/unreachable-code.js -------------------------------------------------------------------------------- /test/fixtures/warning.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webpack/terser-webpack-plugin/HEAD/test/fixtures/warning.js -------------------------------------------------------------------------------- /test/fixtures/worker-loader.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webpack/terser-webpack-plugin/HEAD/test/fixtures/worker-loader.js -------------------------------------------------------------------------------- /test/helpers/BrokenCodePlugin.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webpack/terser-webpack-plugin/HEAD/test/helpers/BrokenCodePlugin.js -------------------------------------------------------------------------------- /test/helpers/EmitNewAsset.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webpack/terser-webpack-plugin/HEAD/test/helpers/EmitNewAsset.js -------------------------------------------------------------------------------- /test/helpers/ExistingCommentsFile.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webpack/terser-webpack-plugin/HEAD/test/helpers/ExistingCommentsFile.js -------------------------------------------------------------------------------- /test/helpers/ModifyExistingAsset.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webpack/terser-webpack-plugin/HEAD/test/helpers/ModifyExistingAsset.js -------------------------------------------------------------------------------- /test/helpers/compile.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webpack/terser-webpack-plugin/HEAD/test/helpers/compile.js -------------------------------------------------------------------------------- /test/helpers/countPlugins.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webpack/terser-webpack-plugin/HEAD/test/helpers/countPlugins.js -------------------------------------------------------------------------------- /test/helpers/execute.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webpack/terser-webpack-plugin/HEAD/test/helpers/execute.js -------------------------------------------------------------------------------- /test/helpers/getCompiler.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webpack/terser-webpack-plugin/HEAD/test/helpers/getCompiler.js -------------------------------------------------------------------------------- /test/helpers/getErrors.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webpack/terser-webpack-plugin/HEAD/test/helpers/getErrors.js -------------------------------------------------------------------------------- /test/helpers/getWarnings.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webpack/terser-webpack-plugin/HEAD/test/helpers/getWarnings.js -------------------------------------------------------------------------------- /test/helpers/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webpack/terser-webpack-plugin/HEAD/test/helpers/index.js -------------------------------------------------------------------------------- /test/helpers/normalizeErrors.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webpack/terser-webpack-plugin/HEAD/test/helpers/normalizeErrors.js -------------------------------------------------------------------------------- /test/helpers/readAsset.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webpack/terser-webpack-plugin/HEAD/test/helpers/readAsset.js -------------------------------------------------------------------------------- /test/helpers/readAssets.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webpack/terser-webpack-plugin/HEAD/test/helpers/readAssets.js -------------------------------------------------------------------------------- /test/helpers/snapshotResolver.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webpack/terser-webpack-plugin/HEAD/test/helpers/snapshotResolver.js -------------------------------------------------------------------------------- /test/include-option.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webpack/terser-webpack-plugin/HEAD/test/include-option.test.js -------------------------------------------------------------------------------- /test/minify-option.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webpack/terser-webpack-plugin/HEAD/test/minify-option.test.js -------------------------------------------------------------------------------- /test/parallel-option.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webpack/terser-webpack-plugin/HEAD/test/parallel-option.test.js -------------------------------------------------------------------------------- /test/terserOptions-option.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webpack/terser-webpack-plugin/HEAD/test/terserOptions-option.test.js -------------------------------------------------------------------------------- /test/test-option.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webpack/terser-webpack-plugin/HEAD/test/test-option.test.js -------------------------------------------------------------------------------- /test/validate-options.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webpack/terser-webpack-plugin/HEAD/test/validate-options.test.js -------------------------------------------------------------------------------- /test/worker.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webpack/terser-webpack-plugin/HEAD/test/worker.test.js -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webpack/terser-webpack-plugin/HEAD/tsconfig.json -------------------------------------------------------------------------------- /types/index.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webpack/terser-webpack-plugin/HEAD/types/index.d.ts -------------------------------------------------------------------------------- /types/minify.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webpack/terser-webpack-plugin/HEAD/types/minify.d.ts -------------------------------------------------------------------------------- /types/utils.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webpack/terser-webpack-plugin/HEAD/types/utils.d.ts --------------------------------------------------------------------------------