diff options
author | Florian Dold <florian@dold.me> | 2023-01-04 11:36:01 +0100 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2023-01-04 11:36:01 +0100 |
commit | cd2491430d31113b1429728d91290e64bb9c2eea (patch) | |
tree | 91870c5c8f1bca2c45b297da200f54e5b9f1988a /packages/taler-harness/src | |
parent | f26cbe7c1f10d2d6430c9f444342180d1445ed33 (diff) | |
download | wallet-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.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); |