Closed Josema closed 7 years ago
Sure, you can try browserifying it, but note that it will probably be quite heavy and therefore remove any benefit of the optimized code.
I tried browserifying and just added a window.optimizeJs = optimizeJs;
to export the function. But the ouput is always the same as the input.
https://plnkr.co/edit/bQH6WME3nSV8DjDiEynr?p=preview
I would like to use optimize-js on the browser. Is that possible?