aboutsummaryrefslogtreecommitdiff
path: root/lib/minify.js
AgeCommit message (Expand)Author
2020-05-09implement AST validation (#3863)Alex Lam S.L
2020-04-17support optional output of `names` in source maps (#3784)Alex Lam S.L
2020-03-28handle `source-map` operations internally (#3754)Alex Lam S.L
2019-11-16minor clean-ups (#3588)Alex Lam S.L
2019-10-11improve source map handling (#3464)...fixes #2947 fixes #3277 fixes #3411Alex Lam S.L
2019-05-04make `enclose` & `wrap` work with `sourceMap` (#3396)...fixes #3313Alex Lam S.L
2019-05-04fix corner cases in `sourceMap` (#3397)...fixes #3255 fixes #3294Alex Lam S.L
2019-04-30unify logging functionality (#3392)...fixes #3253 fixes #3254Alex Lam S.L
2018-06-01re-introduce `enclose` (#3163)...fixes #2443Jiavan
2018-04-06support inline source map from multiple files (#3058)...fixes #145Alex Lam S.L
2018-04-06improve usability of `includeSources` (#3057)...Exclude source contents from input source map if `includeSources=false` fixes #3041Alex Lam S.L
2018-03-31give sensible error against invalid input source map (#3044)Alex Lam S.L
2018-02-24minor clean-ups (#2951)Alex Lam S.L
2018-01-09improve synergy between `compress` and `rename` (#2755)Alex Lam S.L
2018-01-09improve `rename` reproducibility (#2754)...fixes #2752Alex Lam S.L
2018-01-05fix `mangle` name collision across files (#2722)Alex Lam S.L
2017-11-19expand symbol space to improve compression (#2460)...- give globally distinct names to distinct variables - improve ability to compress cross-scoped - introduce `options.rename` to `minify()` - default `true` if both `compress` & `mangle`Alex Lam S.L
2017-11-05inline single-use functions that are not constant expressions (#2434)...fixes #2428Alex Lam S.L
2017-07-29improve `mangle.properties` (#2261)...- include dead code when `keep_quoted` - unify `keep_quoted` & `reserved` - make `test/run-tests.js` consistent with `minify()` fixes #2256Alex Lam S.L
2017-06-29improve usability of name cache under `minify()` (#2176)...fixes #2174Alex Lam S.L
2017-06-08fix iteration over object with inherited properties (#2068)...fixes #2055Alex Lam S.L
2017-05-25report timing breakdown (#2000)...fix corner cases with `sourceMap` fixes #1998Alex Lam S.L
2017-05-08return `Error` from `minify()` (#1880)...Have `minify()` return `Error` in `result.error` rather than throwing it.Alex Lam S.L
2017-05-08support `minify()` output as AST (#1878)...- `options.output.ast` (default `false`) - `options.output.code` (default `true`)Alex Lam S.L
2017-04-15unify CLI & API under `minify()` (#1811)...- rename `screw_ie8` to `ie8` - rename `mangle.except` to `mangle.reserved` - rename `mangle.properties.ignore_quoted` to `mangle.properties.keep_quoted` - compact `sourceMap` options - more stringent verification on input `options` - toplevel shorthands - `ie8` - `keep_fnames` - `toplevel` - `warnings` - support arrays and unquoted string values on CLI - drop `fromString` from `minify()` - `minify()` no longer handles any `fs` operations - unify order of operations for `mangle_properties()` on CLI & API - `bin/uglifyjs` used to `mangle_properties()` before even `Compressor` - `minify()` used to `mangle_properties()` after `Compressor` but before `mangle_names()` - both will now do `Compressor`, `mangle_names()` then `mangle_properties()` - `options.parse` / `--parse` for parser options beyond `bare_returns` - add `mangle.properties.builtins` to disable built-in reserved list - disable with `--mangle-props builtins` on CLI - `warnings` now off by default - add `--warn` and `--verbose` on CLI - drop `--enclose` - drop `--export-all` - drop `--reserved-file` - use `--mangle reserved` instead - drop `--reserve-domprops` - enabled by default, disable with `--mangle-props domprops` - drop `--prefix` - use `--source-map base` instead - drop `--lint` - remove `bin/extract-props.js` - limit exposure of internal APIs - update documentations closes #96 closes #102 closes #136 closes #166 closes #243 closes #254 closes #261 closes #311 closes #700 closes #748 closes #912 closes #1072 closes #1366 fixes #101 fixes #123 fixes #124 fixes #263 fixes #379 fixes #419 fixes #423 fixes #461 fixes #465 fixes #576 fixes #737 fixes #772 fixes #958 fixes #1036 fixes #1142 fixes #1175 fixes #1220 fixes #1223 fixes #1280 fixes #1359 fixes #1368Alex Lam S.L