{"version":3,"file":"get-import-meta-url-cjs.cjs","sourceRoot":"","sources":["../../src/get-import-meta-url-cjs.cts"],"names":[],"mappings":";;;AAAA;;;;;GAKG;AACH,6BAAmC;AAC5B,MAAM,gBAAgB,GAAG,CAAC,MAAc,EAAE,EAAE,CACjD,MAAM,CAAC,IAAI,GAAG,CAAC,MAAM,EAAE,IAAA,mBAAa,EAAC,UAAU,CAAC,CAAC,CAAC,CAAA;AADvC,QAAA,gBAAgB,oBACuB","sourcesContent":["/**\n * Get the import.meta.url for a module\n * abstracted to be able to do CJS and ESM versions.\n *\n * CommonJS version\n */\nimport { pathToFileURL } from 'url'\nexport const getImportMetaURL = (target: string) =>\n  String(new URL(target, pathToFileURL(__filename)))\n"]}