| 26 | const relativeDir = (from, to) => path.relative(from, to).replace(/^\.\./, '.'); |
| 27 | |
| 28 | const readablePath = file => |
| 29 | file.replace(/^.*(reveal-md\/node_modules.+)/, '$1').replace(new RegExp(`^${process.cwd()}/`), ''); |
| 30 | |
| 31 | const cp = (source, target) => { |
| 32 | if (!files.has(target)) { |