esmangle icon indicating copy to clipboard operation
esmangle copied to clipboard

esmangle is mangler / minifier for Mozilla Parser API AST

Results 32 esmangle issues
Sort by recently updated
recently updated
newest added

https://github.com/estools/esmangle/blob/90bf70752292064aecd33160a5c9cb0308038079/lib/pass/dead-code-elimination.js#L447

I want to use esmangle to implement a deobfuscator in a browser. When using the browserified version (cjsify does not work ATM) I don't get access to e.g. the common...

Running `make bundle` to create a browser-usable script failes with `Error: Core module "child_process" has not yet been ported to the browser`

`npm run-script build` fails due to missing dependency `browserify`

I use esmangle in NodeJS to compress following js: ``` javascript function f(){ return function *(next){ var prev = next; prev = f.call(this, prev); yield *prev; }; } ``` I...

``` var ls = (err, data) => { data += 1; if (err) { log.error(err); return err; } result = data; return data; }; console.log(ls(null, 12)); ``` lib/pass/remove-wasted-blocks.js should take...

We should make this JSLint clean code.

hi @Constellation @michaelficarra when will you publish esmangle 1.0.2 i need it. ^_^

When optimizing some code sent to the browser with browserify, I expose a constructor function as `Message`, but when I evaluate the generated code, I see that `Message: function b(d)`,...