express-minify icon indicating copy to clipboard operation
express-minify copied to clipboard

Automatically minify and cache your javascript and css files.

Results 9 express-minify issues
Sort by recently updated
recently updated
newest added

I got an overall idea about what is going on. I understood that `terser` the module to uglify modern JS. But, I tried to use it using the `uglifyJsModule`. It...

I Guess it could be nice to minify html, with no cache of course.

NFR

When going to test.css in a public directory it throws this error: ```bash TypeError error: TypeError: Cannot read property 'length' of undefined at uriToSourceMapping (/Users/me/Desktop/Code/CDN-Template/node_modules/clean-css/lib/reader/load-original-sources.js:39:38) at loadOriginalSources (/Users/me/Desktop/Code/CDN-Template/node_modules/clean-css/lib/reader/load-original-sources.js:20:18) at /Users/me/Desktop/Code/CDN-Template/node_modules/clean-css/lib/reader/read-sources.js:26:14...

Some devs have pre-minified files to serve, like self-hosted jquery.min.js, or bootstrap-min.css. What's a good rule to apply to save some CPU cycles and not re-minify these file patterns? ......

I got the following error(s) when I try to install it. `Administrators-MacBook-Pro:myproject administrator$ npm install express-minify npm WARN deprecated [email protected]: CoffeeScript on NPM has moved to "coffeescript" (no hyphen) npm...

Just a placeholder to discuss this feature. :) A metric I used in the past to order cache entries for cleanup was: ``` timeSinceLastHit / (numberOfTimesHit + 1) ``` So...

NFR

I am sometimes getting the following js stack when it crashes: -- ==== JS stack trace ========================================= Security context: 0x1eebfa29cca1 1: indexOf(this=0x8003cb8acb9 ) 2: cssmin [/home/1/www/node_modules/cssmin/cssmin.js:~28] [pc=0x30c7f5977e84](this=0x3443744b0189 ,css=0x2bd8de31baa9 ,linebreakpos=0x1eebfa282241 )...

cache functionality is not tested yet

bug