Open bkoltoniak opened 2 years ago
Looks like the problem occurs only when bootstrap files are added to bundle. If I replaced them with my own scripts and the minification works correctly. No exception occurs while bootstrap is bundled. Maybe bootstrap files are too large? 5k lines for js and 11k lines for css.
I had a similar problem. Finally I realized that they were minifyed, but the / ! comments in the css scripts made the bundle look non-minifyed. By changing them into / comments, the bundle looked totally minifyed. I hope this helps.
Minifying bundles does not work. I am using ligershark.weboptimizer.core 3.0.330 with ASP.NET Core 6.0.
App pipeline looks like below
registration of bundles
In dev tools I can see that files are bundled but not minified. Any Ideas how to resolve this?