1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-13 23:03:32 +00:00

fix node refs in tsconfig

This commit is contained in:
Kyle Spearrin
2018-09-11 22:41:43 -04:00
parent 7ab56a9616
commit 18b800ff7a
4 changed files with 36 additions and 23 deletions

View File

@@ -24,18 +24,12 @@ function webfonts() {
.pipe(gulp.dest(paths.cssDir));
};
function cleanupNodeTypes() {
return del(['./jslib/node_modules/@types/node/']);
}
function version() {
fs.writeFileSync(paths.build + 'version.json', '{"version":"' + package.version + '"}');
}
gulp.task('clean', clean);
gulp.task('webfonts', ['clean'], webfonts);
gulp.task('cleanupNodeTypes', cleanupNodeTypes);
gulp.task('prebuild', ['webfonts']);
gulp.task('prebuild:prod', ['prebuild', 'cleanupNodeTypes']);
gulp.task('version', version);
gulp.task('postdist', ['version']);