@elora-cloud/elora-cli
Version:
elora build cli 前端打包脚手架
14 lines (11 loc) • 335 B
JavaScript
import chalk from 'chalk';
export { default as consola } from 'consola';
export { default as ora } from 'ora';
import { ROOT } from './constant.mjs';
function slimPath(path) {
return chalk.yellow(path.replace(ROOT, ''));
}
function errorConsole(str) {
return console.log(chalk.red(str));
}
export { errorConsole, slimPath };