Run and Configure a Multitask
Multitasks require configuration. You can create this either by using the corresponding *-configuration tasks, or by defining the configuration in Gruntfile.js.
To configure a multitask in Gruntfile.js:
-
Open
Gruntfile.js. -
Edit the file to configure the multitask.
For example, to configure the
vb-require-bundlemultitask, you might edit the file to be similar to the following.module.exports = (grunt) => { grunt.initConfig({ 'vb-require-bundle': { options: { "transpile": true, "minify": true, }, myWebApp: { options: { "transpile": true, "minify": true, }, }, }, require('load-grunt-tasks')(grunt); };The top level task options are applied to all web applications. If you specify a target, the options are applied only to the target application.