introduce unsafe_Func (#2033)

Separate flag for #203 functionality.
This commit is contained in:
Alex Lam S.L
2017-05-31 03:38:00 +08:00
committed by GitHub
parent 55b5f2a8aa
commit e9645e017f
4 changed files with 83 additions and 58 deletions

View File

@@ -572,6 +572,8 @@ If you're using the `X-SourceMap` header instead, you can just omit `sourceMap.u
comparison are switching. Compression only works if both `comparisons` and
`unsafe_comps` are both set to true.
- `unsafe_Func` (default: false) -- compress and mangle `Function(args, code)`.
- `unsafe_math` (default: false) -- optimize numerical expressions like
`2 * x * 3` into `6 * x`, which may give imprecise floating point results.