* A module specifier written as a path — relative (`./x`, `../x`), rooted, or * an alias with a folder in it (`@/lib/x`, `~/x`, `$lib/x`) — or a scoped * package (`@excalidraw/common`), which no binding can be named and which a * `tsconfig` path or a workspace member can map to a project file; ra
(name: string)
| 2842 | * than an imported binding's name or a bare package (`react`, `lodash`). |
| 2843 | */ |
| 2844 | function isJsPathSpecifier(name: string): boolean { |
| 2845 | return name.startsWith('./') || name.startsWith('../') || name === '.' || name === '..' || |
| 2846 | (name.includes('/') && !/\s/.test(name)); |
| 2847 | } |
| 2848 | |
| 2849 | /** |
| 2850 | * A JS/TS `imports` reference that names a module by path — from a script, or |
no outgoing calls
no test coverage detected