remove unneeded deletes from grunt built

This commit is contained in:
eric@ericjung.net 2023-11-28 18:01:38 -07:00
parent 51d605e6ec
commit 5d73c96895
2 changed files with 1 additions and 4 deletions

View File

@ -1,7 +1,6 @@
module.exports = function(grunt) {
const target = grunt.option('target');
grunt.initConfig({
clean: ['src/manifest-*.json'],
compress: {
main: {
options: {
@ -25,8 +24,7 @@ module.exports = function(grunt) {
manifestSuffix = 'firefox';
}
grunt.file.copy(`src/manifest-${manifestSuffix}.json`, 'src/manifest.json');
grunt.loadNpmTasks('grunt-contrib-clean');
grunt.loadNpmTasks('grunt-contrib-compress');
grunt.registerTask('default', ['clean','compress']);
grunt.registerTask('default', ['compress']);
};

View File

@ -3,7 +3,6 @@
"devDependencies": {
"grunt": "1.6.1",
"grunt-cli": "^1.4.3",
"grunt-contrib-clean": "^2.0.1",
"grunt-contrib-compress": "2.0.0"
}
}