vb-require-bundle-clean

Deletes resources that are part of the generated requirejs resource bundles.

When a web (or mobile) application is optimized using the vb-require-bundle task, the bundled resources stay in the build/optimized directory. You can use the vb-require-bundle-clean task to clean these bundled files before deployment. The files should not be needed in the deployment as resources should be loaded from the resources bundle.

The following table describes the subtasks, hooks, and inputs and outputs of the vb-require-bundle-clean task:

Detail Description
subtasks n/a
multitask n/a
hooks n/a
input build/optimized/*
output build/optimized/*

The following table describes the build option for the vb-require-bundle-clean task:

Name Mandatory Default Value Description
target no build Name of build directory.