(src, injection)
| 121 | } |
| 122 | |
| 123 | function insertBeforeSourceMappingURL(src, injection) { |
| 124 | const idx = src.lastIndexOf("\n//# sourceMappingURL="); |
| 125 | if (idx < 0) return src + injection; |
| 126 | return src.slice(0, idx) + injection + src.slice(idx); |
| 127 | } |
| 128 | |
| 129 | function findExportedFactoryVar(src, exportName) { |
| 130 | const name = String(exportName || "").trim(); |
no outgoing calls
no test coverage detected