Age | Commit message (Collapse) | Author |
|
Fix crash in minify function
|
|
When inSourceMap is omitted fs.readFile throws exception. Fixed version
calls fs.readFile only when inSourceMap argument is present
|
|
|
|
(refs #7)
|
|
|
|
|
|
|
|
|
|
map from, so just use "?". and in any case, don't fail hard when addMapping throws.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
returns an UglifyJS2 AST given a Mozilla AST. Still needs some work to do
(need to create specific nodes like AST_SymbolRef, AST_SymbolLambda
etc. instead of base AST_Symbol, in order for the mangler/compressor to work
properly)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@preserve
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
to always print brackets around if/do/while/for statements; export more options via the CLI
|
|
|
|
(bug in our code prevented the mangler from using a name that was in use
prior to mangling but not after it)
|
|
|
|
initialization
|
|
|
|
|