mate-gulp-scripts-copy
v1.0.0
Published
0.0.3
Downloads
4
Readme
Scripts Copy Task
Copy default 3rd party scripts to build directory.
API
copyScripts([options])
Returns a stream of Vinyl files that can be piped.
Available options:
- 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/zone.js/dist/zone.js',
'node_modules/reflect-metadata/Reflect.js'
]
- dest (String) Output path for the HTML files. Default:
'www/build/js'
.
Example
var copyScripts = require('ionic-gulp-scripts-copy');
gulp.task('scripts', copyScripts);
gulp.task('scripts', function(){
return copyScripts({ dest: 'www/my-custom-build-dir' });
});