Skip to content
Snippets Groups Projects
Commit a1cedfed authored by Aya Morisawa's avatar Aya Morisawa
Browse files

Clean up

parent d01f7b9e
No related merge requests found
......@@ -31,8 +31,6 @@ if (isDebug) {
const constants = require('./src/const.json');
const tsProject = ts.createProject('./src/tsconfig.json');
gulp.task('build', [
'build:js',
'build:ts',
......@@ -51,12 +49,14 @@ gulp.task('build:js', () =>
.pipe(gulp.dest('./built/'))
);
gulp.task('build:ts', () =>
tsProject
gulp.task('build:ts', () => {
const tsProject = ts.createProject('./src/tsconfig.json');
return tsProject
.src()
.pipe(tsProject())
.pipe(gulp.dest('./built/'))
);
});
gulp.task('build:about:docs', () => {
function getLicenseHtml(path: string) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment