remove unneeded deletes from grunt built
This commit is contained in:
parent
51d605e6ec
commit
5d73c96895
|
@ -1,7 +1,6 @@
|
||||||
module.exports = function(grunt) {
|
module.exports = function(grunt) {
|
||||||
const target = grunt.option('target');
|
const target = grunt.option('target');
|
||||||
grunt.initConfig({
|
grunt.initConfig({
|
||||||
clean: ['src/manifest-*.json'],
|
|
||||||
compress: {
|
compress: {
|
||||||
main: {
|
main: {
|
||||||
options: {
|
options: {
|
||||||
|
@ -25,8 +24,7 @@ module.exports = function(grunt) {
|
||||||
manifestSuffix = 'firefox';
|
manifestSuffix = 'firefox';
|
||||||
}
|
}
|
||||||
grunt.file.copy(`src/manifest-${manifestSuffix}.json`, 'src/manifest.json');
|
grunt.file.copy(`src/manifest-${manifestSuffix}.json`, 'src/manifest.json');
|
||||||
grunt.loadNpmTasks('grunt-contrib-clean');
|
|
||||||
grunt.loadNpmTasks('grunt-contrib-compress');
|
grunt.loadNpmTasks('grunt-contrib-compress');
|
||||||
grunt.registerTask('default', ['clean','compress']);
|
grunt.registerTask('default', ['compress']);
|
||||||
};
|
};
|
||||||
|
|
|
@ -3,7 +3,6 @@
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"grunt": "1.6.1",
|
"grunt": "1.6.1",
|
||||||
"grunt-cli": "^1.4.3",
|
"grunt-cli": "^1.4.3",
|
||||||
"grunt-contrib-clean": "^2.0.1",
|
|
||||||
"grunt-contrib-compress": "2.0.0"
|
"grunt-contrib-compress": "2.0.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue