mirror of
https://github.com/tcsenpai/obsidiangarden_netlify.git
synced 2025-06-06 20:55:21 +00:00
dynamic scss fix
This commit is contained in:
parent
e1c2268f37
commit
970b2acd93
@ -24,7 +24,7 @@ const generateComponentPaths = async (namespace) => {
|
||||
const generateStylesPaths = async () => {
|
||||
try {
|
||||
const tree = await fsFileTree(`${STYLE_PATH}`);
|
||||
let comps = Object.keys(tree).map((p) => `/styles/user/${p}`);
|
||||
let comps = Object.keys(tree).map((p) => `/styles/user/${p}`.replace('.scss', '.css'));
|
||||
comps.sort()
|
||||
return comps
|
||||
} catch {
|
||||
|
Loading…
x
Reference in New Issue
Block a user