Alex Lam S.L
17c3ae6cba
improve usability ( #5758 )
2022-12-04 09:10:32 +08:00
Alex Lam S.L
68d62a8a31
enable --module by default ( #5738 )
...
- fix corner case in `mangle`
2022-11-22 02:25:34 +08:00
Alex Lam S.L
2c3c4ec323
improve source mapping accuracy ( #5608 )
2022-08-09 02:02:43 +08:00
Alex Lam S.L
f451a7ad79
implement --expression ( #5607 )
2022-08-08 03:42:18 +08:00
Alex Lam S.L
c82fc1ef71
implement --module ( #5462 )
2022-05-24 05:45:47 +08:00
Alex Lam S.L
e24b255350
implement keep_fargs for mangle ( #5307 )
...
closes #4657
2022-01-21 05:13:26 +08:00
Alex Lam S.L
87a7426598
enhance inline & unused ( #5245 )
2022-01-02 05:40:43 +08:00
Alex Lam S.L
9634a9d1fd
fix corner cases in optional_chains ( #5110 )
2021-08-20 10:10:10 +08:00
Alex Lam S.L
f0de9a8b5d
support optional chaining operator ( #4899 )
2021-05-03 10:08:29 +08:00
Alex Lam S.L
a37ca558dd
reject invalid for await syntax ( #4847 )
2021-04-07 22:37:15 +08:00
Alex Lam S.L
7d595e2eac
improve comment formatting logic ( #4794 )
2021-03-17 13:51:52 +08:00
Alex Lam S.L
228cdf8e7e
reject invalid for...of syntax ( #4632 )
2021-02-10 05:42:27 +08:00
Alex Lam S.L
e13d1e9969
support for [await]...of statements ( #4627 )
2021-02-09 04:28:23 +08:00
Alex Lam S.L
d37ee4d41c
support asynchronous test cases properly ( #4529 )
2021-01-20 07:27:32 +08:00
Alex Lam S.L
7aefe97083
parse destructuring under strict mode correctly ( #4429 )
2020-12-20 20:48:51 +08:00
Alex Lam S.L
fa13ed4391
reject multiple defaults in switch ( #4053 )
...
fixes #4050
2020-08-17 10:09:12 +08:00
Alex Lam S.L
28b7b15da1
parse command line internally ( #3961 )
2020-06-07 13:48:51 +08:00
Alex Lam S.L
83f42ede36
support optional output of names in source maps ( #3784 )
2020-04-17 07:20:48 +08:00
Alex Lam S.L
46d142cbf6
improve source-map generation ( #3782 )
...
- emit singleton segments to mark generated code from input
2020-04-16 23:30:25 +08:00
Alex Lam S.L
b35f4c5a83
enhance inline ( #3767 )
2020-04-10 10:48:24 +08:00
Alex Lam S.L
1b07f64057
enhance inline ( #3760 )
2020-04-05 10:42:23 +08:00
Alex Lam S.L
827bcec186
handle source-map operations internally ( #3754 )
2020-03-28 22:18:56 +08:00
Alex Lam S.L
5d258259a4
introduce --output-opts CLI option ( #3678 )
...
closes #3675
2020-01-08 20:44:03 +08:00
Alex Lam S.L
10c1a78772
fix corner case in collapse_vars ( #3591 )
2019-11-17 05:24:02 +08:00
Alex Lam S.L
354fec8a9c
make enclose & wrap work with sourceMap ( #3396 )
...
fixes #3313
2019-05-04 20:25:52 +08:00
Alex Lam S.L
11cdab745d
fix corner cases in sourceMap ( #3397 )
...
fixes #3255
fixes #3294
2019-05-04 20:08:57 +08:00
Alex Lam S.L
2ea96549c5
unify logging functionality ( #3392 )
...
fixes #3253
fixes #3254
2019-04-30 06:32:24 +08:00
Alex Lam S.L
b9615f7a62
improve compress performance ( #3348 )
...
fixes #3174
2019-03-20 02:53:04 +08:00
Alex Lam S.L
d90777b724
parse mangle.properties.regex in --config-file properly ( #3337 )
...
fixes #3315
2019-03-15 00:20:20 +08:00
Alex Lam S.L
694ca5d045
fix corner case in unused ( #3234 )
...
fixes #3233
2018-08-23 06:03:39 +08:00
Alex Lam S.L
76df77c08c
implement directives ( #3203 )
...
fixes #3166
2018-06-28 18:16:49 +08:00
Alex Lam S.L
9e19e63551
general clean-ups ( #3175 )
2018-06-06 17:50:56 +08:00
Jiavan
b39043f3ab
re-introduce enclose ( #3163 )
...
fixes #2443
2018-06-01 16:47:11 +08:00
Alex Lam S.L
69fc7ca8da
workaround test failures in Node.js 10 ( #3102 )
2018-04-26 17:44:37 +08:00
Alex Lam S.L
923deeff35
support inline source map from multiple files ( #3058 )
...
fixes #145
2018-04-06 16:04:15 +08:00
Alex Lam S.L
0b62a28b47
improve usability of includeSources ( #3057 )
...
Exclude source contents from input source map if `includeSources=false`
fixes #3041
2018-04-06 13:32:26 +08:00
b-fuze
8adfc29f91
Don't load source map until the JS source is fully received ( #3040 )
2018-03-31 20:26:40 +09:00
Alex Lam S.L
02f47e1713
give sensible error against invalid input source map ( #3044 )
2018-03-31 18:48:20 +09:00
Alex Lam S.L
b29d435bb5
refactor brackets to braces ( #3005 )
2018-03-15 15:46:45 +08:00
Alex Lam S.L
cff3bf4914
configure rename with CLI ( #2802 )
2018-01-17 15:12:22 +08:00
Alex Lam S.L
182a47bfb1
improve source mapping ( #2312 )
...
fixes #2310
2017-09-15 12:46:48 +08:00
Alex Lam S.L
b35dfc2599
reject malformed CLI parameters ( #2239 )
...
fixes #2237
2017-07-15 23:50:27 +08:00
Alex Lam S.L
10a938cb79
enhance source mapping on IIFEs ( #2224 )
...
fixes #2213
2017-07-11 02:34:28 +08:00
Alex Lam S.L
0692435f01
fix for-in loop parsing ( #2144 )
2017-06-23 04:14:30 +08:00
Alex Lam S.L
43697958f3
avoid intermittent test time-out failures ( #2100 )
2017-06-15 04:47:57 +08:00
Ziad El Khoury Hanna
82db9188ac
fix CLI parsing of --source-map content ( #2088 )
...
fixes #2082
2017-06-13 16:30:46 +08:00
Alex Lam S.L
293c566d6c
marshal mangle[.properties].reserved from non-Array values ( #2072 )
2017-06-09 04:29:12 +08:00
Alex Lam S.L
f2af093402
fix CLI output corruption ( #2061 )
...
Using `console.error()` & `console.log()` result in inconsistent formatting across Node.js versions.
Avoid this issue by directly writing to `process.stderr` & `process.stdout` instead.
Miscellaneous
- prettify invalid option listing
2017-06-07 04:25:32 +08:00
Alex Lam S.L
fec14379f6
improve CLI usability ( #2016 )
...
Report supported options upon invalid option syntax.
fixes #1883
2017-05-28 04:09:40 +08:00
Alex Lam S.L
e667f0acb8
fix source map offset ( #1993 )
...
Account for whitespace insertions.
fixes #505
fixes #890
2017-05-23 20:25:48 +08:00