(src: string | null | undefined)
| 55 | const isViteVirtual = (src: string | null | undefined) => !!src && (/\/\@id\//.test(src) || /\0/.test(src) || /__x00__/.test(src)); |
| 56 | const isVitePrebundle = (src: string | null | undefined) => !!src && /node_modules\/\.vite\/deps\//.test(src); |
| 57 | const vitePrebundleId = (src: string | null | undefined): string | null => { |
| 58 | if (!src) return null; |
| 59 | const m = src.match(/\.vite\/deps\/([^?]+?)\.[mc]?js/); |
| 60 | return m ? m[1] : null; |
| 61 | }; |
| 62 | const isNsCorePackage = (src: string | null | undefined) => !!src && /^@nativescript\/core(\/.*)?$/.test(src); |
| 63 | |
| 64 | let seq = 0; |
no test coverage detected