WebOptimizer
WebOptimizer copied to clipboard
A bundler and minifier for ASP.NET Core
Hi, I've got weboptimizer working nicely with my web app, but when I try to pull in .js or .css files from Razor Class Libraries, the page renders, but I'm...
Hello, I want to create bundle without minification for developpement (in order to have one configuration), and this code create bundle minified : ``` builder.Services.AddWebOptimizer(builder.Environment, new CssBundlingSettings { Minify =...
Able to confirm whether is it bug or unsupported? My provider is a ManifestEmbeddedFileProvider: ```csharp public static IFileProvider GetProvider() { var provider = new ManifestEmbeddedFileProvider( assembly: typeof(Setup).Assembly, "Libraries"); return provider;...
Hi When I use jstree and overlayScrollbars together the minified js file did not work but when I remove each one the minified file works correctly. I tested this case...
We are getting this error frequently in production environment, not able to find the cause of the issue System.InvalidOperationException: Collection was modified; enumeration operation may not execute. at System.Collections.Generic.HashSet`1.Enumerator.MoveNext() at...
NuGet license is pointing at https://github.com/ligershark/WebOptimizer/blob/master/LICENSE.txt instead of https://github.com/ligershark/WebOptimizer/blob/master/LICENSE
I was trying to use this library on a migration to dotnet core. On the migration, I need to add bundles defined by module ``` ConfigureModuleServices(IServiceCollection services ...) service.AddBundle(pipeline =>...
The CSS minifier treats nested [@starting-style](https://developer.mozilla.org/en-US/docs/Web/CSS/@starting-style) CSS at-rules as invalid CSS, and thus fails to minify CSS files that contain such rules. An example case would be the following: ```...
This is how i use in program.cs ``` builder.Services.AddWebOptimizer(pipeline => { pipeline.AddCssBundle("~/Content/styles/css", "Content/styles/vendor.css", "Content/styles/main.css", "Content/styles/widget-menu.css", "Content/styles/launcher.css"); pipeline.AddJavaScriptBundle("~/Content/scripts/js", "Content/scripts/vendor/modernizr.js", "Content/scripts/vendor.js", "Content/scripts/plugins/inputMask.js", "Content/scripts/plugins/timeago/jquery.timeago.js", "Content/scripts/LanguageData.js", "Content/scripts/languageHelper.js", "Content/scripts/vendor/domPurify/purify.js", "Sdk/SocketConnection.js", "Content/scripts/main.js"); pipeline.AddJavaScriptBundle("~/Content/scripts/js_noemoji", "Content/scripts/vendor/modernizr.js", "Content/scripts/vendor.noemoji.min.js", "Content/scripts/plugins/inputMask.js",...
It does not seem like it's possible to do a combination of defined bundles assetPipeline.AddJavaScriptBundle and the tag helpers on the page together. Also is there a way to define...