0.1.0 • Published 9 years ago

laravel-elixir-styles-with-url-replace v0.1.0

Weekly downloads
2
License
MIT
Repository
github
Last release
9 years ago

laravel-elixir-styles-with-url-replace

An extension for laravel elixir styles task to replace relative url path with absolute path.

Install:

$ npm install laravel-elixir-styles-with-url-replace --save-dev

Params:

styles

Type: Array

outputDir

Type: String

The value must relative with your static root path

staticRoot

Type: String Default value: public

Example:

var elixir = require('laravel-elixir');

require('laravel-elixir-styles-with-url-replace');

elixir(function(mix) {
    mix.styles_with_url_replace([
      'styles/application.css',
      'styles/home.css'
    ], 'build/application.css', 'public');
});

License:

MIT