I'm using the BuildBundlerMinifier Nuget package in a .NET Core 2.1 application.
When trying to add bootstrap.js to the BundleConfig, sitebundle.min.js file gets deleted. If I remove bootstrap.js from BundleConfig, the bundle and minification process works as expected.
Bootstrap v5.0.2
Here is my bundleconfig.json
[
{
"outputFileName": "wwwroot/css/sitebundle.min.css",
"inputFiles": [
"wwwroot/lib/bootstrap/css/bootstrap.css",
"wwwroot/css/site.css"
]
},
{
"outputFileName": "wwwroot/js/sitebundle.min.js",
"inputFiles": [
"wwwroot/lib/jquery/dist/jquery.js",
"wwwroot/lib/bootstrap/js/bootstrap.js",
"wwwroot/js/site.js"
]
}
]