This plugin only renames ids with a prefix of id- and classes with a prefix of class-. You can specify more prefixes though the options object.
$ npm install --save-dev laravel-elixir-selectorshorten
User e.g. to delete intermediary files after elixir version
require('laravel-elixir-selectorshorten');
elixir(function(mix) {
mix.shorten();
});
Shorten can be called with the following settings:
shorten(options, allowedExtensions)
Type: Array
The array with prefix strings.
Type: Array
The array with file extensions.