mirror of
https://github.com/duhanbalci/dexpr.git
synced 2026-08-30 16:01:41 +00:00
initial commit
This commit is contained in:
+9
@@ -0,0 +1,9 @@
|
||||
// Shim globals in esm bundle
|
||||
import path from 'node:path'
|
||||
import { fileURLToPath } from 'node:url'
|
||||
|
||||
const getFilename = () => fileURLToPath(import.meta.url)
|
||||
const getDirname = () => path.dirname(getFilename())
|
||||
|
||||
export const __dirname = /* @__PURE__ */ getDirname()
|
||||
export const __filename = /* @__PURE__ */ getFilename()
|
||||
Reference in New Issue
Block a user