I specify the nonull: true
option for every grunt task:
grunt.initConfig({
copy {
nonull: true,
src: [],
dest: '',
},
jshint {
nonull: true,
src: [],
dest: '',
},
uglify {
nonull: true,
src: [],
dest: '',
},
});
Is it possible to specify "default" task options - so I can specify nonull:true
once for all tasks?
question from:
https://stackoverflow.com/questions/66066386/default-task-options-for-all-grunt-tasks 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…