# laravel-elixir-rename

> A gulp-rename wrapper ingredient for Laravel Elixir.

Latest version **0.1.5** (published 2016-11-13) · MIT license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install laravel-elixir-rename
pnpm add laravel-elixir-rename
yarn add laravel-elixir-rename
bun add laravel-elixir-rename
```

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 0.1.5 |
| Published | 2016-11-13 |
| First published | 2014-11-12 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Ed Rands |
| Maintainers | edrands |
| Keywords | gulp, laravel, elixir, rename |

## Links

- npm: https://www.npmjs.com/package/laravel-elixir-rename
- Repository: https://github.com/EdRands/laravel-elixir-rename
- Issues: https://github.com/EdRands/laravel-elixir-rename/issues
- npm.io page: https://npm.io/package/laravel-elixir-rename

## Dependencies (1)

- [gulp-rename](https://npm.io/package/gulp-rename.md) ^1.2.0

## Recent versions

- 0.1.5 (latest) — 2016-11-13
- 0.1.4 — 2016-11-13
- 0.1.2 — 2014-11-12
- 0.1.1 — 2014-11-12
- 0.1.0 — 2014-11-12

## README

#Rename Ingredient for Laravel Elixir

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

This is a simple [gulp-rename](https://www.npmjs.org/package/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:

```javascript
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](https://www.npmjs.org/package/gulp-rename#readme).

## 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](https://github.com/EdRands/laravel-elixir-rename/issues) describing the problem.
Or better yet, make a pull request with the solution.

## License

This is open-sourced software licensed under the [MIT license](http://opensource.org/licenses/MIT)

---
_Source: https://npm.io/package/laravel-elixir-rename · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
