Skip to content

Commit

Permalink
fix: fix scss compile support customcss umd
Browse files Browse the repository at this point in the history
  • Loading branch information
DaiQiangReal committed Apr 1, 2024
1 parent 053bbe0 commit 7e594bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/semi-scss-compile/src/utils/writeFile.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ const preProcessScssMap = (scssMapOrigin: ReturnType<typeof generateScssMap>) =>
}
allCustomRaw+= themeLocalRaw || "";
allCustomRaw+="\n";
allCustomRaw+=customScssRaw+"\n";
allCustomRaw+=`body:not(:not(body)){${customScssRaw}};`+"\n";
scssMap.theme['index.scss'] += '\n'+allCustomRaw;
}

Expand Down

0 comments on commit 7e594bb

Please sign in to comment.