minifyify icon indicating copy to clipboard operation
minifyify copied to clipboard

Minify your browserify bundle without losing the sourcemap

Results 14 minifyify issues
Sort by recently updated
recently updated
newest added

Hi @ben-ng , Thank you for the great library. I have a small issue. I use `minifyify` with `grunt-browserify`, my configuration looks like this: ``` javascript browserify: { development: {...

Minify doesn't cut variable names which located in top scope. For example, "bigName" will not be cut, but "bigVarName" will be. ``` javascript var bigName = require('./foo'); function bar() {...

In situations where the writeStream cannot write to the sourcemap file (such as when it doesn't have permissions), the entire process crashes. This will forward error events to the minifiedStream,...

I passed the `minify: false` flag, but my app requires a sourcemap -- is it possible to still generate this file even though the source is not minified?

I've written up the situation on Stackoverflow: http://stackoverflow.com/questions/35703092/browserify-minifyify-conditional-compilation Essentially, minifyify works really well with all other uglifyjs options, but for reasons that I can't determine, conditional compilation won't work (_--compress,...

I'm seeing between 5 and 15% better compression when running uglify on the entire file

if outfile provided to browserify, and output provided to minifyify, determine --map automatically

I have installed this both globally and as a dev dependency, and I am receiving an error when I try to invoke minifyify in a script. I tried calling this...

``` thomas@workstation:holstee-browserify$ DEBUG=* browserify main.js > bundle.js /Users/thomas/Desktop/holstee-browserify/node_modules/minifyify/lib/index.js:26 bundle.transform({global: true}, minifier.transformer); ^ TypeError: Object /Users/thomas/Desktop/holstee-browserify/main.js has no method 'transform' at plugin (/Users/thomas/Desktop/holstee-browserify/node_modules/minifyify/lib/index.js:26:10) at nr (/Users/thomas/.nvm/v0.10.32/lib/node_modules/browserify/node_modules/module-deps/index.js:281:23) at /Users/thomas/.nvm/v0.10.32/lib/node_modules/browserify/node_modules/resolve/lib/async.js:44:21 at ondir (/Users/thomas/.nvm/v0.10.32/lib/node_modules/browserify/node_modules/resolve/lib/async.js:187:31)...

Running minifyify on Windows-machines produce sourcemaps with minified sources in sourcesContent and all mappings pointing to 1:0 in the relevant file. After some sleuthing I've come to the conclusion that...