aboutsummaryrefslogtreecommitdiff
path: root/packages/taler-harness/src
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2023-01-04 11:36:01 +0100
committerFlorian Dold <florian@dold.me>2023-01-04 11:36:01 +0100
commitcd2491430d31113b1429728d91290e64bb9c2eea (patch)
tree91870c5c8f1bca2c45b297da200f54e5b9f1988a /packages/taler-harness/src
parentf26cbe7c1f10d2d6430c9f444342180d1445ed33 (diff)
downloadwallet-core-cd2491430d31113b1429728d91290e64bb9c2eea.tar.xz
harness: make import.meta.url work
Diffstat (limited to 'packages/taler-harness/src')
-rw-r--r--packages/taler-harness/src/import-meta-url.js2
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);