|
|
@ -57,13 +57,13 @@ gulp.task('manifest:cleanup', function() { |
|
|
|
delete json.applications |
|
|
|
delete json.applications |
|
|
|
return json |
|
|
|
return json |
|
|
|
})) |
|
|
|
})) |
|
|
|
.pipe(gulp.dest('./dist/chrome', { overwrite: false })) |
|
|
|
.pipe(gulp.dest('./dist/chrome', { overwrite: true })) |
|
|
|
}) |
|
|
|
}) |
|
|
|
gulp.task('copy:chrome', gulp.series( |
|
|
|
gulp.task('copy:chrome', gulp.series( |
|
|
|
copyTask({ |
|
|
|
copyTask({ |
|
|
|
source: './dist/firefox', |
|
|
|
source: './dist/firefox', |
|
|
|
destination: './dist/chrome', |
|
|
|
destination: './dist/chrome', |
|
|
|
pattern: '**/[^manifest]*' |
|
|
|
pattern: '**/*' |
|
|
|
}), 'manifest:cleanup')) |
|
|
|
}), 'manifest:cleanup')) |
|
|
|
gulp.task('copy', gulp.series(gulp.parallel('copy:locales','copy:images','copy:fonts','copy:reload','copy:root'), 'copy:chrome')) |
|
|
|
gulp.task('copy', gulp.series(gulp.parallel('copy:locales','copy:images','copy:fonts','copy:reload','copy:root'), 'copy:chrome')) |
|
|
|
gulp.task('copy:watch', function(){ |
|
|
|
gulp.task('copy:watch', function(){ |
|
|
|