aboutsummaryrefslogtreecommitdiff
path: root/tools/node.js
AgeCommit message (Expand)Author
2012-10-18add fromString argument to `UglifyJS.minify` (allows to pass the source...code, instead of file names, as first argument). close #17 Mihai Bazon
2012-10-11disable warnings by default in `minify` (pass warnings: true to enable)...close #11 Mihai Bazon
2012-10-09add `--ast-help`...displays a rather cruel description of the AST classes, derived directly from the node definitions. Mihai Bazon
2012-10-09Fix nodejs minify without inSourceMap exception...When inSourceMap is omitted fs.readFile throws exception. Fixed version calls fs.readFile only when inSourceMap argument is present Sergej Tatarincev
2012-10-08fix `inSourceMap` in `minify` (should read the file)Mihai Bazon
2012-10-08add simple API wrapper: UglifyJS.minify...(refs #7) Mihai Bazon
2012-10-08added --self to easily get a browser-runnable version of UglifyJSMihai Bazon
2012-10-03define AST_Node.from_mozilla_ast(ast)...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) Mihai Bazon
2012-10-02discard annoying nodejs warningMihai Bazon
2012-09-22tree transformer api (WIP)Mihai Bazon
2012-09-07always keep declarations found in unreachable code...a few more tests and some cleanups. Mihai Bazon
2012-08-29started support for generating source maps (WIP)...plugged in @fitzgen's source-map library Mihai Bazon
2012-08-22wrote more of the compressor and added some testsMihai Bazon
2012-08-21cleaned up some mess and started the actual compressorMihai Bazon
2012-08-21some reorganization...(moved pretty much everything that relates to scope in scope.js, added a module for NodeJS that can be used with require() and exports everything.) Mihai Bazon