mirror of
https://github.com/nestjs/nest.git
synced 2026-02-21 23:11:44 +00:00
build(@nestjs) add copy README gulp script
This commit is contained in:
11
gulpfile.js
11
gulpfile.js
@@ -31,6 +31,17 @@ gulp.task('copy:ts', function() {
|
||||
return gulp.packages(['packages/**/*.ts']).pipe(gulp.dest('./bundle'));
|
||||
});
|
||||
|
||||
|
||||
gulp.task('copy-docs', function() {
|
||||
return gulp.src('Readme.md').pipe(
|
||||
gulp.dest('bundle/common'),
|
||||
gulp.dest('bundle/core'),
|
||||
gulp.dest('bundle/microservices'),
|
||||
gulp.dest('bundle/websockets'),
|
||||
gulp.dest('bundle/testing'),
|
||||
);
|
||||
});
|
||||
|
||||
gulp.task('clean:bundle', function() {
|
||||
return gulp
|
||||
.packages(['bundle/**/*.js.map', 'bundle/**/*.ts', '!bundle/**/*.d.ts'], { read: false })
|
||||
|
||||
Reference in New Issue
Block a user