2021-11-22 09:39:27 -06:00

8 lines
289 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, getFormat, transformSource} = esm.registerAndCreateEsmHooks()