mirror of https://github.com/MaxLeiter/Drift
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9 lines
308 B
JavaScript
9 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();
|