This project is no longer supported. Since this ingredient is being used by others, I won't just outright remove it for now.
This is a simple gulp-rename wrapper ingredient for Laravel Elixir.
npm install --save-dev laravel-elixir-rename
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.
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.
This is open-sourced software licensed under the MIT license