You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

8 line
289B

  1. import {fileURLToPath} from 'url'
  2. import {createRequire} from 'module'
  3. const require = createRequire(fileURLToPath(import.meta.url))
  4. /** @type {import('./dist/esm')} */
  5. const esm = require('./dist/esm')
  6. export const {resolve, getFormat, transformSource} = esm.registerAndCreateEsmHooks()