an extra named object property
Grunt supports the ability to split each task configuration into several separate configurations allowing different task options to accommodate different scenarious, such as appling different settings to different files, for example. This feature is known as multitasksand is achieved by adding an extra named object property beneath each task property name in the configuration section of the Gruntfile. Each of these multitask configuration objects is known as a target, and different targets can be run through Grunt one at a time, or all targets run together in the order that they are defined.
Grunt支持把每一个任务的配置信息划分至若干单独的配置内容中,以实现不同的任务选项来适应不同的使用场合。例如,对不同的文件应用不同的设定。此特性为称作multitask(多任务),实现方法是在Gruntfile的配置小节中,在每一个任务属性名称之下增加一个额外的命名对象属性。每一个这样的多任务配置对象称作一个target(目标),而不同的target可以通过Grunt来一次一个地运行,或者也可以按照各个target定义的顺序来按次序一起运行所有的target。