laravel-elixir-selectorshorten

1.0.1 • Public • Published

laravel-elixir-selectorshorten

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.

Install

$ npm install --save-dev laravel-elixir-selectorshorten

Usage

User e.g. to delete intermediary files after elixir version

require('laravel-elixir-selectorshorten');

elixir(function(mix) {
  mix.shorten();
});

Custom usage

Shorten can be called with the following settings:

shorten(options, allowedExtensions)

options

Type: Array

The array with prefix strings.

allowedExtensions

Type: Array

The array with file extensions.

Package Sidebar

Install

npm i laravel-elixir-selectorshorten

Weekly Downloads

1

Version

1.0.1

License

MIT

Last publish

Collaborators

  • gorriecoe