You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 20, 2020. It is now read-only.
Some of the files served in our project are third party libraries which are already minified.
Although it only happens once, re-minifying these can be very slow. (I guess that's an issue with uglify.) To reproduce, try minifying http://d3js.org/d3.v3.min.js
I would like to tell express-minify to skip minification for all files matching .min.js$ or .min.css$, and I recommend that behaviour as a default.
Alternatively, this could be addressed by whitelisting or blacklisting specific folders for minification.
(In our project, we are serving all our pre-minified and to-be-minified files from one express.static() route.)
The text was updated successfully, but these errors were encountered:
Some of the files served in our project are third party libraries which are already minified.
Although it only happens once, re-minifying these can be very slow. (I guess that's an issue with uglify.) To reproduce, try minifying http://d3js.org/d3.v3.min.js
I would like to tell express-minify to skip minification for all files matching
.min.js$
or.min.css$
, and I recommend that behaviour as a default.Alternatively, this could be addressed by whitelisting or blacklisting specific folders for minification.
(In our project, we are serving all our pre-minified and to-be-minified files from one express.static() route.)
The text was updated successfully, but these errors were encountered: