Skip to content

Version 1.3.7

Latest

Choose a tag to compare

@amostajo amostajo released this 31 Mar 01:42
· 7 commits to v1.0 since this release

Changelog

  • Ability to customize the file to get minified by using config.jsmin and config.cssmin. In addtion of config.jsminAppend and config.cssminAppend to extend default rules.

config.jsmin & config.cssmin

These need to be arrays, it replaces the default location of files to be minified:

Example:

config.jsmin = ['./assets/js/**/*.js'];

config.jsminAppend & config.cssminAppend

These need to be arrays, it appends rules:

Example:

config.jsminAppend = ['!./assets/js/vue-*.js'];

In the example above, all *.js files will be minified, except those with prefix vue-.