(filePath: string)
| 26 | |
| 27 | // map the file path to a url for windows only |
| 28 | const file = (filePath: string) => { |
| 29 | return isWindows ? pathToFileURL(filePath).toString() : filePath; |
| 30 | }; |
| 31 | |
| 32 | // Escape path for imports in windows |
| 33 | const escapeChars = (filePath: string) => { |