tinyify
tinyify copied to clipboard
a browserify plugin that runs various optimizations, so you don't have to install them all manually. makes your bundles tiny!
`tinyify` has some problems parsing numbers written like `10_000`: ``` SyntaxError: Unexpected token name «_000», expected punc «,» while parsing file: /home/lms/src/peermaps/peermaps-web/storage/http.js at Z.get (/home/lms/src/peermaps/peermaps-web/node_modules/uglifyify/node_modules/terser/dist/bundle.min.js:1:463) at Readable.errorExit (/home/lms/src/peermaps/peermaps-web/node_modules/browserify/bin/cmd.js:79:27) at Readable.emit...
I'm trying to optimize a bundle that contains the (rather hefty) [plotly.js](https://github.com/plotly/plotly.js) library. When I pass `-p tinyify` to my bundling command it will hang for quite a while and...
I'm bundling Bree with browserify + tinyify at https://github.com/breejs/bree and it's outputting this error whenever it's loaded:  I'm assuming this is due...
There seems to be a problem with shortening names in some cases. Below is an example. ```js { addOnclick: function(){ element.onclick = ()=>{this.foo("some string")}; }, foo: function(str){ //do things }...
Any ideas about why this may be?
I'm having issues trying to get this to generate a minified output file. The mentioned output file is empty. I've tried these options. None work. browserify -p tinyify src/main.js >...
I'm using browserify on a project one of whose outputs is a webextension. When using browserify alone, the webextension works fine. When using tinyify, loading the extension fails with "Uncaught...
Bumps [terser](https://github.com/terser/terser) from 3.16.1 to 5.17.1. Changelog Sourced from terser's changelog. v5.17.1 Fix evaluating .length when the source array might've been mutated v5.17.0 Drop vestigial = undefined default argument in...
See here: https://github.com/advisories/GHSA-4wf5-vphf-c2xc
Hello, Thank you for this awesome tool. I am receiving the following error when minifying my project: ```bash /home/mina/Documents/PMSoftware/Tender/Tender Attempt - 0003/codebase/globe/node_modules/.pnpm/[email protected]/node_modules/acorn/dist/acorn.js:2929 throw err ^ SyntaxError: Unexpected token (7:598206) at...