( entry: string, helper: string )
| 771 | `${exporter} exports ${helper}, a helper the build precompiles at each call, but ${importer} imports it and isn't a module the plugin transforms, so a call to ${helper} there would throw at runtime. Call ${helper} in a module the plugin transforms, like a .ts file, and import what it returns, or move ${helper} to a module ${importer} doesn't import.` |
| 772 | |
| 773 | export const writeEntryHelperMessage = ( |
| 774 | entry: string, |
| 775 | helper: string |
| 776 | ): string => |
| 777 | `${entry} exports ${helper}, a helper the build precompiles at each call, but it's an entry, so code outside the bundle may call ${helper}, which would throw at runtime. Export what ${helper} returns instead.` |
| 778 | |
| 779 | export const writeUnseenMessage = ( |
| 780 | reason: string, |
no outgoing calls
no test coverage detected