Quantcast
Channel: Active questions tagged nuget-package - Stack Overflow
Viewing all articles
Browse latest Browse all 3067

.NET Core Bootstrap breaks BuildBundlerMInifier

$
0
0

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"        ]    }]

Viewing all articles
Browse latest Browse all 3067

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>