1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-11 22:03:36 +00:00

update to angular 6 and webpack 4

This commit is contained in:
Kyle Spearrin
2018-09-12 13:12:44 -04:00
parent ab35a49dbe
commit 98745dd83b
8 changed files with 1692 additions and 1712 deletions

View File

@@ -18,8 +18,14 @@ function webfonts() {
format: 'woff',
}))
.pipe(gulp.dest(paths.cssDir));
};
}
// ref: https://github.com/angular/angular/issues/22524
function cleanupAotIssue() {
return del(['./node_modules/@types/uglify-js/node_modules/source-map/source-map.d.ts']);
}
gulp.task('clean', clean);
gulp.task('cleanupAotIssue', cleanupAotIssue);
gulp.task('webfonts', ['clean'], webfonts);
gulp.task('prebuild:renderer', ['webfonts']);
gulp.task('prebuild:renderer', ['webfonts', 'cleanupAotIssue']);