add note on debugging with source maps
This commit is contained in:
parent
b3128f0b6d
commit
46f893bda0
|
|
@ -1117,3 +1117,11 @@ To allow for better optimizations, the compiler makes various assumptions.
|
|||
- Object properties are able to be added (not prevented with
|
||||
`Object.defineProperty()`, `Object.defineProperties()`, `Object.freeze()`,
|
||||
`Object.preventExtensions()` or `Object.seal()`).
|
||||
|
||||
### Source maps and debugging
|
||||
|
||||
Various `compress` transforms that simplify, rearrange, inline and remove code
|
||||
are known to have an adverse effect on debugging with source maps. This is
|
||||
expected as code is optimized and mappings are often simply not possible as
|
||||
some code no longer exists. For highest fidelity in source map debugging
|
||||
disable the Uglify `compress` option and just use `mangle`.
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user