Skip to content
This repository was archived by the owner on Nov 20, 2020. It is now read-only.
This repository was archived by the owner on Nov 20, 2020. It is now read-only.

(Low priority) Skip minification of already minified files #2

Description

@joeytwiddle

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.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions