Oskar Sjöberg

Results 3 comments of Oskar Sjöberg

I got it working by doing the following changes: Remove: if (builder.Environment.IsDevelopment()) { builder.Services.AddWebOptimizer(minifyJavaScript: false, minifyCss: false); } Add: option.EnableTagHelperBundling = !builder.Environment.IsDevelopment();

Given that you configure `AddWebbOptimizer` with a pipeline and that you are using the included taghelpers to "render" the bundle just change `EnableTagHelperBundling` appropriately like this: ```` lang-cs #if DEBUG...