( reason: string, fix = "Set prune: false to build them whole" )
| 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, |
| 781 | fix = "Set prune: false to build them whole" |
| 782 | ): string => |
| 783 | `A production build leaves out of its validators what no read of them needs, as it found reading the bundle's modules, but ${reason}, so a read it didn't see may need what it left out. ${fix}.` |
| 784 | |
| 785 | export const writeUnscannedFlatMessage = (path: string): string => |
| 786 | `A production build declares the units its validators read in one function, as it found reading the bundle's modules first, but it built ${path} from code it didn't read, whose validators would read copies of them. Build again, or set prune: false to build each unit as a module of its own.` |
no outgoing calls
no test coverage detected