Fixed bundling. Upgraded mooncore.extended

This commit is contained in:
2025-02-26 22:32:02 +01:00
parent caa8d47af2
commit 6c5e4c2a1e
5 changed files with 18 additions and 12 deletions

View File

@@ -134,7 +134,7 @@ public class BundleGenerationService : IHostedService
if (mainStylesheet.ImportRules.Any(x => x.Text == importRule.Text))
continue;
content += importRule.StylesheetText.Text + "\n";
content = importRule.StylesheetText.Text + "\n" + content;
}
// Media Rules

View File

@@ -125,6 +125,9 @@ public class PluginService
var wwwRootPath = Path.GetFullPath(
PathBuilder.Dir(pluginFolder, "wwwroot")
);
if(!Directory.Exists(wwwRootPath))
continue;
wwwRootProviders.Add(
new PhysicalFileProvider(wwwRootPath)