0.1.0 • Published 9 years ago
laravel-elixir-styles-with-url-replace v0.1.0
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
0.1.0
9 years ago