CoastalCommitsPastes/server/node_modules/ts-node/esm.mjs
2022-03-06 16:46:59 -08:00

8 lines
308 B
JavaScript

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, load, getFormat, transformSource } =
esm.registerAndCreateEsmHooks();