|
|
@ -63,7 +63,6 @@ gulp.task('copy:chrome', gulp.series( |
|
|
|
copyTask({ |
|
|
|
copyTask({ |
|
|
|
source: './dist/firefox', |
|
|
|
source: './dist/firefox', |
|
|
|
destination: './dist/chrome', |
|
|
|
destination: './dist/chrome', |
|
|
|
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(){ |
|
|
@ -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: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')) |
|
|
|
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() { |
|
|
|
gulp.task('clean', function clean() { |
|
|
|