1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-13 14:53:33 +00:00

JIT builds for dev

This commit is contained in:
Kyle Spearrin
2018-04-13 16:03:37 -04:00
parent dc35577564
commit 191042411c
5 changed files with 163 additions and 123 deletions

View File

@@ -65,6 +65,7 @@ gulp.task('dist', ['dist:firefox', 'dist:chrome', 'dist:opera', 'dist:edge', 'di
gulp.task('dist:firefox', (cb) => {
return dist('firefox', (manifest) => {
delete manifest['-ms-preload'];
delete manifest.content_security_policy;
return manifest;
});
});
@@ -73,6 +74,7 @@ gulp.task('dist:opera', (cb) => {
return dist('opera', (manifest) => {
delete manifest['-ms-preload'];
delete manifest.applications;
delete manifest.content_security_policy;
return manifest;
});
});
@@ -81,6 +83,7 @@ gulp.task('dist:chrome', (cb) => {
return dist('chrome', (manifest) => {
delete manifest['-ms-preload'];
delete manifest.applications;
delete manifest.content_security_policy;
delete manifest.sidebar_action;
delete manifest.commands._execute_sidebar_action;
return manifest;
@@ -116,6 +119,7 @@ function edgeCopyBuild(source, dest) {
delete manifest.applications;
delete manifest.sidebar_action;
delete manifest.commands._execute_sidebar_action;
delete manifest.content_security_policy;
return manifest;
})))
.pipe(gulp.dest(dest))