-
Notifications
You must be signed in to change notification settings - Fork 29
Description
Setup
Visual Studio 2022 - 17.8.3
.NET - 8.0
LigerShark.WebOptimizer.Core - 3.0.433
LigerShark.WebOptimizer.Sass - 3.0.123
Test Setup
builder.Services.AddJsEngineSwitcher(options =>
{
options.AllowCurrentProperty = false;
options.DefaultEngineName = ChakraCoreJsEngine.EngineName;
})
.AddChakraCore()
.AddJint()
.AddJurassic()
.AddMsie(options =>
{
options.EngineMode = JsEngineMode.ChakraIeJsRt;
})
.AddNiL()
.AddNode()
.AddV8()
.AddVroom()
.AddYantra()
;
services.AddWebOptimizer(pipeline =>
{
pipeline.AddScssBundle("/site-globalscss",
"/css/Site.scss",
"/css/ProximaNova.scss"
);
pipeline.MinifyCssFiles();
pipeline.MinifyJsFiles();
});
Result
When we try to use "" in head section, this works perfect on debug, local iis but when deployed on our production this throws 500 error..
In image below you may see other only css works fine, issue is only with .scss bundle.
Please advise a solution...