Skip to content

Instantly share code, notes, and snippets.

@squadwuschel
Last active June 22, 2016 19:08
Show Gist options
  • Save squadwuschel/ee5b981cb2e4d437196460c775d49116 to your computer and use it in GitHub Desktop.
Save squadwuschel/ee5b981cb2e4d437196460c775d49116 to your computer and use it in GitHub Desktop.
Angular 2 RC1 Gulp File to copy some js modules to the Scripts path
/// <binding AfterBuild='moveToLibs' />
var gulp = require('gulp');
gulp.task('moveToLibs', function (done) {
gulp.src([
'node_modules/core-js/client/shim.min.js',
'node_modules/zone.js/dist/zone.js',
'node_modules/reflect-metadata/Reflect.js',
'node_modules/systemjs/dist/system.src.js'
]).pipe(gulp.dest('./Scripts/'));
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment