mirror of
https://github.com/youzan/vant.git
synced 2025-10-18 09:24:25 +00:00
fix(cli): CSS preprocessor for scoped (#12860)
This commit is contained in:
@@ -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));
|
||||
|
Reference in New Issue
Block a user