|
|
|
@ -63,7 +63,6 @@ gulp.task('copy:chrome', gulp.series( |
|
|
|
|
copyTask({ |
|
|
|
|
source: './dist/firefox', |
|
|
|
|
destination: './dist/chrome', |
|
|
|
|
pattern: '**/*' |
|
|
|
|
}), 'manifest:cleanup')) |
|
|
|
|
gulp.task('copy', gulp.series(gulp.parallel('copy:locales','copy:images','copy:fonts','copy:reload','copy:root'), 'copy:chrome')) |
|
|
|
|
gulp.task('copy:watch', function(){ |
|
|
|
@ -104,7 +103,7 @@ gulp.task('build:js:background', bundleTask({ watch: false, filename: 'backgroun |
|
|
|
|
gulp.task('build:js:popup', bundleTask({ watch: false, filename: 'popup.js' })) |
|
|
|
|
gulp.task('build:js', gulp.parallel('build:js:inpage','build:js:contentscript','build:js:background','build:js:popup')) |
|
|
|
|
|
|
|
|
|
// clean dist/firefox
|
|
|
|
|
// clean dist
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
gulp.task('clean', function clean() { |
|
|
|
|