kzc
1885f91f13
document top level minify() option safari10 ( #2532 )
2017-11-29 05:48:33 +08:00
Alex Lam S.L
736c366d93
introduce --safari10 ( #2530 )
2017-11-29 03:34:47 +08:00
kzc
1646c5844f
document the new output option safari10 ( #2529 )
2017-11-29 02:29:23 +08:00
alexlamsl
4f08c2f504
Merge branch 'master' into harmony-v3.2.0
2017-11-26 04:23:57 +08:00
Alex Lam S.L
97c464dbf5
fix wording and formatting ( #2512 )
2017-11-25 19:07:46 +08:00
kzc
ba4894af18
document top level minify option keep_classnames ( #2511 )
2017-11-25 16:33:03 +08:00
Alex Lam S.L
b80062c490
enable hoist_props by default ( #2492 )
2017-11-19 14:56:23 +08:00
alexlamsl
227b58812d
Merge branch 'master' into harmony-v3.1.10
2017-11-19 14:34:27 +08:00
kzc
6142117cdd
document the webkit output option ( #2490 )
...
- workaround for WebKit bugs
- PhantomJS users should enable this output option
closes #2489
2017-11-17 13:46:49 +08:00
kzc
557636f3b7
update documentation for reduce_funcs ( #2478 )
2017-11-14 16:03:25 +08:00
alexlamsl
11c0b1e1f9
Merge branch 'master' into harmony-v3.1.9
2017-11-11 15:45:34 +08:00
Alex Lam S.L
3c74047368
implement compress option reduce_funcs ( #2466 )
...
- inline single-use function declarations as expressions when permissible
- depend on `reduce_vars`
- enabled by default
- disable for speed critical code
fixes #2464
2017-11-11 05:59:35 +08:00
alexlamsl
086cb33163
Merge branch 'master' into harmony-v3.1.6
2017-10-29 13:23:39 +08:00
kzc
ae67a49850
document compress option hoist_props ( #2399 )
2017-10-25 14:03:43 +08:00
Tom MacWright
1968203d83
docs: Fix spelling and style ( #2395 )
2017-10-24 04:59:12 +08:00
Tom MacWright
2848596280
docs: Fix spelling and style ( #2395 )
2017-10-24 04:53:56 +08:00
Alex Lam S.L
9f4b98f8e4
backport #2374 ( #2376 )
2017-10-19 23:02:27 +08:00
kzc
6bf5fea008
option formatting in docs ( #2374 )
...
- reintroduce compress documentation for keep_fnames and unsafe_methods
- reintroduce keep_fnames in mangle option docs
- order compress & mangle options
2017-10-18 05:23:53 +08:00
alexlamsl
58a5608b66
Merge branch 'master' into harmony-v3.1.4
2017-10-16 12:32:50 +08:00
kzc
f496ac5c85
implement compress option computed_props ( #2361 )
...
transforms `{["computed"]: 1}` into `{computed: 1}`
2017-10-16 11:35:04 +08:00
Alex Lam S.L
ec598c351b
fix-ups for #2356 ( #2360 )
2017-10-15 22:33:55 +08:00
Roger Peppe
99800d4aa9
update README to include defaults ( #2356 )
...
fixes #2353
2017-10-12 02:56:02 +08:00
Tim Malone
70d56c951a
Update README.md - sourceMappingURL directive note ( #2355 )
...
Moves this README note to underneath the 'url' rather than 'root' option.
2017-10-11 19:48:43 +08:00
kzc
a784717fe2
allow RegExp for unsafe_methods compress option ( #2327 )
2017-09-21 00:48:16 +08:00
kzc
e8235657e4
add new compress option unsafe_methods for ecma >= 6 ( #2325 )
...
fixes #2321
2017-09-20 00:15:54 +08:00
alexlamsl
8891495789
Merge branch 'master' into harmony-v3.1.0
2017-09-10 15:39:33 +08:00
David Šanda
71d52f147d
Fix CLI example for mangle reserved list of names ( #2294 )
2017-08-31 00:55:32 +08:00
David Šanda
eb7adaa6fc
Fix CLI source-maps examples ( #2291 )
...
fixes #2284
2017-08-29 23:49:20 +08:00
kzc
ae0f117da6
Introduce new compress option unsafe_arrows ( #2278 )
...
* Not always safe to convert a function expression to an arrow
function when code depends on the function prototype existing.
Fixes #2271
2017-08-16 22:51:26 +08:00
alexlamsl
3a2b737c42
Merge branch 'master' into harmony-v3.0.25
2017-07-16 11:15:07 +08:00
Alex Lam S.L
458e3e15f0
enhance passes ( #2229 )
...
- remove hardcoded upper limit
- continue based on node count reduction
- emit verbose statistics
fixes #2226
2017-07-13 02:18:59 +08:00
kzc
0f4278148d
uglify-es: update repository and project tagline ( #2221 )
2017-07-09 23:55:38 +08:00
kzc
145874e504
docs: update benchmarks using node 8, add babili ( #2218 )
2017-07-09 01:06:15 +08:00
kzc
f30375052b
docs: update benchmarks using node 8, add babili ( #2218 )
2017-07-09 00:48:53 +08:00
alexlamsl
a556dd2dcb
Merge branch 'master' into harmony-v3.0.24
2017-07-08 13:12:54 +08:00
Alex Lam S.L
1ac25fc032
improve compress granularity through typeofs ( #2201 )
...
fixes #2198
2017-07-05 19:20:33 +08:00
kzc
f3a487a368
document fast mangle-only minify mode ( #2194 )
2017-07-03 01:37:04 +08:00
alexlamsl
ed3032e52a
Merge branch 'master' into harmony-v3.0.22
2017-06-30 11:24:07 +08:00
Alex Lam S.L
bdeadffbf5
improve usability of name cache under minify() ( #2176 )
...
fixes #2174
2017-06-29 12:48:34 +08:00
kzc
fc7e33453f
[ES6] document mangle option keep_classnames ( #2175 )
2017-06-28 23:51:58 +08:00
kzc
179f33f08a
update doc notes for uglify-es ( #2164 )
2017-06-26 11:04:22 +08:00
kzc
d260fe9018
more documentation for the ecma option ( #2162 )
2017-06-26 02:39:14 +08:00
Alex Lam S.L
49f3de8397
toplevel shorthand for ecma ( #2157 )
2017-06-24 19:06:58 +08:00
Alex Lam S.L
d1f085bce7
add new arrows compress option ( #2154 )
...
Convert ES5 style anonymous function expressions
to arrow functions if permissible by language semantics.
Note: `arrows` requires that the `ecma` compress option
is set to `6` or greater.
fixes #2150
2017-06-24 14:45:24 +08:00
alexlamsl
8af362ed57
Merge branch 'master' into harmony-v3.0.16
2017-06-14 17:09:30 +08:00
kzc
da2de350c3
add comment about quote_style and gzip ( #2092 )
2017-06-14 12:23:03 +08:00
Alex Lam S.L
3493a182b2
implement function inlining ( #2053 )
...
- empty body
- single `AST_Return`
- single `AST_SimpleStatement`
- avoid `/*#__PURE__*/`
Miscellaneous
- enhance single-use function substitution
fixes #281
2017-06-06 05:49:53 +08:00
kzc
f330ab743a
better document behavior of unsafe_Func ( #2043 )
2017-06-02 12:07:17 +08:00
alexlamsl
ee5c03f7f1
Merge branch 'master' into harmony-v3.0.15
2017-06-01 18:26:09 +08:00
kzc
0cb75089f0
document safari10 mangle option ( #2035 )
2017-05-31 23:16:20 +08:00