chore(cli): update eslint config and prettier codes
This commit is contained in:
@@ -8,7 +8,7 @@ const cleanCss = new CleanCss();
|
||||
export async function compileCss(source: string | Buffer) {
|
||||
const config = await postcssrc({}, POSTCSS_CONFIG_FILE);
|
||||
const { css } = await postcss(config.plugins as any).process(source, {
|
||||
from: undefined
|
||||
from: undefined,
|
||||
});
|
||||
|
||||
return cleanCss.minify(css).styles;
|
||||
|
||||
Reference in New Issue
Block a user