* Returns a commented version of string. * @param {string} str string to be converted to "normal comment" * @returns {string} returns a commented version of string
(str)
| 141 | * @returns {string} returns a commented version of string |
| 142 | */ |
| 143 | static toNormalComment(str) { |
| 144 | if (!str) return ""; |
| 145 | return `/* ${str.includes("*/") ? str.replace(COMMENT_END_REGEX, "* /") : str} */`; |
| 146 | } |
| 147 | |
| 148 | /** |
| 149 | * Returns normalized bundle-safe path. |
no test coverage detected