Closed open-cipher closed 9 years ago
Sounds like a really bad idea. That would invalidate the cache for all files even though only some changed.
Agreed, but for cases where the plugin is being used to generate semver builds, for e.g. jQuery-1.2.3.js etc ... this can come in handy. Also, It can only be an option.
I don't think this plugin should be used to generate semver builds though.
gulp-rename is a perfect plugin for the job :)
@bobthecow : Thanks, how did I miss that :( !!
@akshayKrSingh Heh. No worries :)
As a feature, would it not be cool to have an option to use
package.json
version tag value to be suffixed at the end of file name rather than using content hash?Something like this:
mode: 'version'
Output
abc-1.2.0.css
Default or None
Output
abc-bxc23dd564c.css