0
フォルダを別のコピー先にコピーして、同じプロセスで特定のファイルの名前を変更します。Gulp:コピー中にソースディレクトリから特定のファイルの名前を変更します。
gulp.task('deploy', function() { gulp.src(['xxx/**/*']).pipe(gulp.dest('yyy')); });
私はちょうど罰金の上にフォルダをコピーすることができていますが、どのように私は、ファイルの名前を変更するに行きますか?
ソースフォルダ構造:
- xxx (root)
- scripts
- config
- app.config.local.js (would like to rename this file as app.config.js)
- app.config.dev.js