audiobookshelf/client/esm-shims.js
2023-05-10 22:55:16 +02:00

7 lines
208 B
JavaScript

const path = require('path')
const url = require('url');
const serverPath = path.resolve(__dirname, 'test.js')
const serverUrl = url.pathToFileURL(serverPath).href
export { serverUrl as 'import.meta.url' }