mirror of
https://github.com/misskey-dev/summaly.git
synced 2025-05-08 23:27:26 +09:00
Clean up
This commit is contained in:
parent
afdd07b562
commit
3a8abc43d2
15
gulpfile.js
15
gulpfile.js
@ -7,12 +7,7 @@ const es = require('event-stream');
|
||||
|
||||
const project = ts.createProject('tsconfig.json');
|
||||
|
||||
gulp.task('build', [
|
||||
'build:ts',
|
||||
'build:copy'
|
||||
]);
|
||||
|
||||
gulp.task('build:ts', () => {
|
||||
gulp.task('build', () => {
|
||||
const tsResult = project
|
||||
.src()
|
||||
.pipe(project());
|
||||
@ -26,11 +21,3 @@ gulp.task('build:ts', () => {
|
||||
tsResult.dts.pipe(gulp.dest('./built/'))
|
||||
);
|
||||
});
|
||||
|
||||
gulp.task('build:copy', () => {
|
||||
return es.merge(
|
||||
gulp.src([
|
||||
'./src/**/*.pug'
|
||||
]).pipe(gulp.dest('./built/'))
|
||||
);
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user