Fixed bundling. Upgraded mooncore.extended
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user