(str, prefix)
| 23 | * @returns {string} indent |
| 24 | */ |
| 25 | const indent = (str, prefix) => { |
| 26 | const rem = str.replace(/\n([^\n])/g, `\n${prefix}$1`); |
| 27 | return prefix + rem; |
| 28 | }; |
| 29 | |
| 30 | /** @typedef {StatsOptions} MultiStatsOptions */ |
| 31 | /** @typedef {{ version: boolean, hash: boolean, errorsCount: boolean, warningsCount: boolean, errors: boolean, warnings: boolean, children: NormalizedStatsOptions[] }} ChildOptions */ |