This is mostly a Facebook-specific transform that removes noop function calls. However, can be generalized to detect and remove noops.
published 0.0.1 8 years agoTries to evaluate expressions and inline the result.
published 0.5.0 6 years agoInlines bindings when possible. Tries to evaluate expressions and prunes unreachable as a result.
published 0.5.2 2 years ago**Note:** while this plugin doesn’t shorten the output in any way, it does optimize it for repetition-based compression algorithms such as gzip.
published 0.4.3 6 years agoContext- and scope- aware variable renaming.
published 0.5.1 2 years agoConfigurable "search and replace" plugin. Replaces matching nodes in the tree with a given replacement node. For example you can replace `process.NODE_ENV` with `"production"`.
published 0.5.0 6 years ago**Note:** Not recommended if full support for IE8 and lower is required. [Details](https://github.com/babel/minify/pull/45#discussion_r70181249)
published 0.4.3 6 years ago> Simplifies code for minification by reducing statements into expressions and making expressions uniform where possible.
published 0.5.1 5 years agoShortens numeric literals using scientific notation
published 0.4.3 6 years agoThis changes RegExp constructors into literals if the RegExp arguments are strings.
published 0.4.3 6 years agoThis removes rvals that are equivalent to undefined wherever possible
published 0.5.0 6 years agoThis plugin inlines consecutive property assignments, array pushes, etc.
published 0.4.3 6 years agoMark scopes for deopt which contain a direct eval call
published 0.4.3 6 years agoWebpack loader to extract a single block from a Vue single-file component
published 0.1.0 7 years ago