mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-05 19:41:42 +08:00
fix(cli): CSS preprocessor for scoped (#12860)
This commit is contained in:
parent
dffcd07c7c
commit
413150a4ab
@ -140,6 +140,9 @@ export async function compileSfc(filePath: string): Promise<any> {
|
||||
filename: path.basename(cssFilePath),
|
||||
scoped: style.scoped,
|
||||
id: scopeId,
|
||||
preprocessLang: style.lang as Parameters<
|
||||
typeof compileStyle
|
||||
>[0]['preprocessLang'],
|
||||
});
|
||||
|
||||
return outputFile(cssFilePath, trim(styleSource.code));
|
||||
|
Loading…
x
Reference in New Issue
Block a user