Documentation

Add per individual file

The BundleCollection.AddPerIndividualFile method adds a separate bundle for each individual file found in the given path.

bundles.AddPerIndividualFile<ScriptBundle>("Scripts");

The path is relative to the web application's root directory.

The method also includes optional parameters to specify a FileSearch and bundle customization delegate.