diff --git a/README.md b/README.md index 8eb4d93..03dc808 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ - Produces tiny, optimized code for all inputs - Supports multiple entry modules _(`cli.js` + `index.js`, etc)_ - Creates multiple output formats for each entry _(CJS, UMD & ESM)_ -- Built-in Uglify compression & gzipped bundle size tracking +- Built-in Terser compression & gzipped bundle size tracking ## 🔧 Installation @@ -69,7 +69,7 @@ Just like `microbundle build`, but watches your source files and rebuilds on any --target Specify your target environment (default node) --external Specify external dependencies, or 'none' --globals Specify globals dependencies, or 'none' - --compress Compress output using UglifyJS (default true) + --compress Compress output using Terser (default true) --strict Enforce undefined global context and add "use strict" --name Specify name exposed in UMD builds --cwd Use an alternative working directory (default .) diff --git a/src/prog.js b/src/prog.js index ea17d0d..bffcf77 100644 --- a/src/prog.js +++ b/src/prog.js @@ -22,7 +22,7 @@ export default handler => { .option('--external', `Specify external dependencies, or 'none'`) .option('--globals', `Specify globals dependencies, or 'none'`) .example('microbundle --globals react=React,jquery=$') - .option('--compress', 'Compress output using UglifyJS', true) + .option('--compress', 'Compress output using Terser', true) .option('--strict', 'Enforce undefined global context and add "use strict"') .option('--name', 'Specify name exposed in UMD builds') .option('--cwd', 'Use an alternative working directory', '.')