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:
10
gulpfile.js
10
gulpfile.js
@@ -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']);
|
||||
|
||||
Reference in New Issue
Block a user