Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions src/server/extensions/themes/registry.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { mkdir, readdir, readFile } from "fs/promises";
import { join } from "path";
import * as sass from "sass";
import {
type ExtensionMeta,
ExtensionStoreType,
Expand Down Expand Up @@ -63,10 +62,6 @@ async function compileThemeCss(

const fullPath = join(theme.dir, cssFile);
try {
if (cssFile.endsWith(".scss")) {
const result = sass.compile(fullPath);
return result.css;
}
return await readFile(fullPath, "utf-8");
} catch (err) {
logger.debug("themes", `Failed to compile CSS for theme ${theme.id}`, err);
Expand Down
Loading