Copy default 3rd party scripts to build directory.
Returns a stream of Vinyl files that can be piped.
- src (String|Array) Glob or array of globs (What's a glob?) matching 3rd party script files. Default:
[
'node_modules/es6-shim/es6-shim.min.js',
'node_modules/es6-shim/es6-shim.map',
'node_modules/zone.js/dist/zone.js',
'node_modules/reflect-metadata/Reflect.js',
'node_modules/reflect-metadata/Reflect.js.map'
]
- dest (String) Output path for the HTML files. Default:
'www/build/js'
.
var copyScripts = require('ionic-gulp-scripts-copy');
gulp.task('scripts', copyScripts);
gulp.task('scripts', function(){
return copyScripts({ dest: 'www/my-custom-build-dir' });
});