diff options
Diffstat (limited to 'packages/taler-harness/src')
-rw-r--r-- | packages/taler-harness/src/import-meta-url.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/taler-harness/src/import-meta-url.js b/packages/taler-harness/src/import-meta-url.js new file mode 100644 index 000000000..b7def9b07 --- /dev/null +++ b/packages/taler-harness/src/import-meta-url.js @@ -0,0 +1,2 @@ +// Helper to make 'import.meta.url' available in esbuild-bundled code as well. +export const import_meta_url = require('url').pathToFileURL(__filename); |