Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jansanchez/gulp-recursive-concat
A Gulp recursive concatenation
https://github.com/jansanchez/gulp-recursive-concat
Last synced: 27 days ago
JSON representation
A Gulp recursive concatenation
- Host: GitHub
- URL: https://github.com/jansanchez/gulp-recursive-concat
- Owner: jansanchez
- License: mit
- Created: 2014-08-13T22:23:31.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2016-01-28T23:06:21.000Z (almost 9 years ago)
- Last Synced: 2024-09-08T02:10:26.049Z (about 2 months ago)
- Language: JavaScript
- Size: 26.4 KB
- Stars: 6
- Watchers: 3
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Gulp Recursive Concatenation [![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url]
> A gulp plugin for Recursive Concatenation
## Getting Started
#### Install:
```
npm install --save-dev gulp-recursive-concat
```#### How to use:
```javascript
var recursiveConcat = require('gulp-recursive-concat');gulp.task('concatenation', function(){
return gulp.src('source/**/*.js')
.pipe(recursiveConcat({extname: ".js"}))
.pipe(gulp.dest('dist/'));
});
```**from**
```
├── source
| └── modules
| | └── 1.js
| | └── 2.js
```**to**
```
├── dist
| └── modules
| | └── modules.js
```#### With outside options:
```javascript
var recursiveConcat = require('gulp-recursive-concat');
gulp.task('concatenation', function(){
return gulp.src('source/**/*.js')
.pipe(recursiveConcat({extname: ".js", outside: true}))
.pipe(gulp.dest('dist/'));
});
```**from**
```
├── source
| └── modules
| | └── 1.js
| | └── 2.js
```**to**
```
├── dist
| └── modules.js
```[npm-url]: https://www.npmjs.org/package/gulp-recursive-concat
[npm-image]: http://img.shields.io/npm/v/gulp-recursive-concat.svg[travis-url]: https://travis-ci.org/jansanchez/gulp-recursive-concat
[travis-image]: http://img.shields.io/travis/jansanchez/gulp-recursive-concat.svg