Kargi-Sitesi/node_modules/ts-node/esm/transpile-only.mjs

8 lines
312 B
JavaScript
Raw Normal View History

2024-11-04 02:30:09 +00:00
import {fileURLToPath} from 'url'
import {createRequire} from 'module'
const require = createRequire(fileURLToPath(import.meta.url))
/** @type {import('../dist/esm')} */
const esm = require('../dist/esm')
export const {resolve, getFormat, transformSource} = esm.registerAndCreateEsmHooks({transpileOnly: true})