mirror of
https://github.com/youzan/vant.git
synced 2026-01-30 01:02:04 +08:00
chore(cli): replace chalk with picocolors (#10777)
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
import ora from 'ora';
|
||||
import chalk from 'chalk';
|
||||
import color from 'picocolors';
|
||||
import consola from 'consola';
|
||||
import { ROOT } from '../common/constant.js';
|
||||
|
||||
export function slimPath(path: string) {
|
||||
return chalk.yellow(path.replace(ROOT, ''));
|
||||
return color.yellow(path.replace(ROOT, ''));
|
||||
}
|
||||
|
||||
export { ora, consola };
|
||||
|
||||
Reference in New Issue
Block a user