Skip to content

Instantly share code, notes, and snippets.

@Raynos
Created January 8, 2014 10:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Raynos/8314719 to your computer and use it in GitHub Desktop.
Save Raynos/8314719 to your computer and use it in GitHub Desktop.
var concat = require('magic-concat');
var src = require('vinyl-fs').src
var dest = require('vinyl-fs').dest
function scripts() {
src('./lib/*.js')
.pipe(concat())
.pipe(dest('./dist/all.js'))
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment