aboutsummaryrefslogtreecommitdiff
path: root/tools/node.js
AgeCommit message (Collapse)Author
2012-10-11disable warnings by default in `minify` (pass warnings: true to enable)Mihai Bazon
close #11
2012-10-09add `--ast-help`Mihai Bazon
displays a rather cruel description of the AST classes, derived directly from the node definitions.
2012-10-09Fix nodejs minify without inSourceMap exceptionSergej Tatarincev
When inSourceMap is omitted fs.readFile throws exception. Fixed version calls fs.readFile only when inSourceMap argument is present
2012-10-08fix `inSourceMap` in `minify` (should read the file)Mihai Bazon
2012-10-08add simple API wrapper: UglifyJS.minifyMihai Bazon
(refs #7)
2012-10-08added --self to easily get a browser-runnable version of UglifyJSMihai Bazon
2012-10-03define AST_Node.from_mozilla_ast(ast)Mihai Bazon
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)
2012-10-02discard annoying nodejs warningMihai Bazon
2012-09-22tree transformer api (WIP)Mihai Bazon
2012-09-07always keep declarations found in unreachable codeMihai Bazon
a few more tests and some cleanups.
2012-08-29started support for generating source maps (WIP)Mihai Bazon
plugged in @fitzgen's source-map library
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 reorganizationMihai Bazon
(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.)