laravel-elixir-styles-with-url-replace

0.1.0 • Public • Published

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

Package Sidebar

Install

npm i laravel-elixir-styles-with-url-replace

Weekly Downloads

1

Version

0.1.0

License

MIT

Last publish

Collaborators

  • tom21joy