(targetPath, sheBang)
| 542 | }; |
| 543 | |
| 544 | const loaderCodeCommonJS = function (targetPath, sheBang) { |
| 545 | const lines = [ |
| 546 | `require('bytenode')`, |
| 547 | ``, |
| 548 | `module.exports = require('${targetPath}')` |
| 549 | ]; |
| 550 | |
| 551 | if (sheBang) { |
| 552 | lines.unshift(sheBang, ''); |
| 553 | } |
| 554 | |
| 555 | return lines.join('\n'); |
| 556 | }; |
| 557 | |
| 558 | const loaderCodeModule = function (targetPath, sheBang, loaderFilePath) { |
| 559 | const lines = [ |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…