Skip to content
This repository has been archived by the owner on Dec 26, 2019. It is now read-only.

Latest commit

 

History

History
45 lines (26 loc) · 1.58 KB

readme.md

File metadata and controls

45 lines (26 loc) · 1.58 KB

DEPRECATED — Rename Ingredient for Laravel Elixir

This project is no longer supported. Since this ingredient is being used by others, I won't just outright remove it for now.

No Maintenance Intended

About the Rename Ingredient for Laravel Elixir

This is a simple gulp-rename wrapper ingredient for Laravel Elixir.

Installation

npm install --save-dev laravel-elixir-rename

Usage

Add it to your Elixir-enhanced Gulpfile, like so:

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

require('laravel-elixir-rename');

elixir(function(mix) {
   mix.rename('./bower_components/component/style.css', '_component.scss', './assets/sass');
});

This would copy a css file in bower_components and change it to an scss partial in your assets/sass directory.

The parameters are rename(input, options, output)

options are passed directly to gulp-rename, so you can use what it accepts: strings, functions and hashes. To learn more, see the gulp-rename package.

Bugs and Contributions

I am no longer actively using, nor maintaining this project. If there are issues, please make a pull requst if you have a solution.

If you find a bug, please post an issue on GitHub describing the problem. Or better yet, make a pull request with the solution.

License

This is open-sourced software licensed under the MIT license