Closed ignaciosalazarcalle closed 2 years ago
Hello, Ignacio!
WebMarkupMin can only minify a JS and CSS code embedded (script
and style
tags) and inlined (style
attributes, event attributes and hyperlinks with javascript:
protocol) in markup. To minify a JS and CSS files, use some kind of bundler (for example, Smidge).
WebMarkupMin can apply HTTP compression to a JS and CSS files, but this is just a side functionality. It is better to work with such files exclusively through bundler.
Hello, Ignacio!
WebMarkupMin can only minify a JS and CSS code embedded (
script
andstyle
tags) and inlined (style
attributes, event attributes and hyperlinks withjavascript:
protocol) in markup. To minify a JS and CSS files, use some kind of bundler (for example, Smidge).WebMarkupMin can apply HTTP compression to a JS and CSS files, but this is just a side functionality. It is better to work with such files exclusively through bundler.
Understood, @Taritsyn .
Thanks for the information.
Hello,
I'm trying use minify JS and CSS files but I don't get it. Steps:
Add this code
// This method gets called by the runtime. Use this method to configure the HTTP request pipeline. public void Configure(IApplicationBuilder app, IWebHostEnvironment env) { if (env.IsDevelopment()) { app.UseDeveloperExceptionPage(); } else { app.UseExceptionHandler("/Error"); }
}