UNPKG

ts-import

Version:

Import (compile and cache on the fly) TypeScript files dynamically with ease.

8 lines 262 B
export const getJsAfterCachePath = (tsPath) => { let jsAfterCachePath = tsPath; if (process.platform === `win32`) { jsAfterCachePath = tsPath.split(`:`)[1]; } return jsAfterCachePath; }; //# sourceMappingURL=get-js-after-cache-path.js.map