WebOptimizer
WebOptimizer copied to clipboard
A bundler and minifier for ASP.NET Core
I get a null ref exception when I start my web site only if I specify inline on my bundles. Here is my service config: ```csharp if (WebHostEnvironment.IsDevelopment()) { services.AddWebOptimizer(minifyJavaScript:...
Hi, I am using the latest WebOptimizer with WebOptimizer.Sass to compile scss to css and bundle them. I encountered a problem with the hash computed for the bundle never changes,...
Hello, In the documentation it mentions that I have to add the code below to disable the features to development. ``` if (env.IsDevelopment()) { services.AddWebOptimizer(minifyJavaScript:false,minifyCss:false); } ``` However, "services" is...
I see that [SASS](https://github.com/ligershark/WebOptimizer.sass) is a separate package. But does the JS minification use ES6 or ES5?
.NET Core 5.0.4 LigerShark.WebOptimizer.Core 3.0.311 I have aproject where I serve static files from both wwwroot and node_modules folders. For bundling I'm using ContentRoot(); ```C# services.AddWebOptimizer(pipeline => { pipeline.AddCssBundle("/css/vendor.bundle.css", "/node_modules/font-awesome/css/font-awesome.min.css",...
Hi, I am running a .NET 5 (Core) application. When I updated to version 3.0.311 all my razor views started breaking on code like: `@Model.MyValue` so I was unable to...
The [optional chaining operator](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Optional_chaining) `?.` causes a request to a JavaScript file containing it to return a 500, with the exception: **NullReferenceException: Object reference not set to an instance of...
1. clone master. 2. open solution. 3. set WebOptimizer.Core.Mvc3 as startup, click run in IIS Express. 4. Error.
ASP.NET 5 MVC Core application serves multiple sites using LigerShark WebOptimizer ( https://github.com/ligershark/WebOptimizer ) https://example.com/store1 https://example.com/store2 https://example2.com All those sites should served from wwwroot directory containing same files for those...
## Description When using razor pages, if the script tag contains @@, using the provided tag helper (`@addTagHelper *, WebOptimizer.Core`) would mess up the code. ## Example ```html ``` Due...