0.1.1 • Published 9 years ago

gulp-jsincluder v0.1.1

Weekly downloads
1
License
MIT
Repository
github
Last release
9 years ago

gulp-jsincluder

Arbitrary javascript file includer for the Gulp build system.

Usage

Install

npm install --save-dev gulp-jsincluder
var gulp     = require('gulp'),
	includer = require('gulp-jsincluder');
	
gulp.task('javascript', function () {
	gulp.src('src/js/app.js')
		.pipe(jsincluder())
		.pipe(gulp.dest('./build/js'))
});

Example

// Basic usage
// javascript code here...

// include the contents of `incl/my-other-files.js` into this file.
include('./incl/my-other-file.js');