const require_rolldown_runtime = require('../../../../../_virtual/rolldown_runtime.cjs');
const require_logger = require('../../../../config/dist/esm/logger.cjs');
const require_built = require('../config/dist/esm/built.cjs');
let node_path = require("node:path");

//#region ../@intlayer/chokidar/dist/esm/utils/formatter.mjs
const formatPath = (path, color) => [path].flat().map((path$1) => path$1.startsWith("/") ? (0, node_path.relative)(require_built.built_default.content.baseDir, path$1) : path$1).map((relativePath) => color === false ? relativePath : require_logger.colorizePath(relativePath, color)).join(`, `);

//#endregion
exports.formatPath = formatPath;
//# sourceMappingURL=formatter.cjs.map