gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-wallet-core] branch master updated: dist build should be ESM also


From: gnunet
Subject: [taler-wallet-core] branch master updated: dist build should be ESM also
Date: Mon, 31 Oct 2022 17:40:34 +0100

This is an automated email from the git hooks/post-receive script.

sebasjm pushed a commit to branch master
in repository wallet-core.

The following commit(s) were added to refs/heads/master by this push:
     new ccd7f07c4 dist build should be ESM also
ccd7f07c4 is described below

commit ccd7f07c460d20bd363875095699263e695cd491
Author: Sebastian <sebasjm@gmail.com>
AuthorDate: Mon Oct 31 13:40:09 2022 -0300

    dist build should be ESM also
---
 packages/taler-wallet-cli/bin/taler-wallet-cli.mjs | 2 +-
 packages/taler-wallet-cli/rollup.config.js         | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/packages/taler-wallet-cli/bin/taler-wallet-cli.mjs 
b/packages/taler-wallet-cli/bin/taler-wallet-cli.mjs
index bcec228e6..4fa3d45c4 100755
--- a/packages/taler-wallet-cli/bin/taler-wallet-cli.mjs
+++ b/packages/taler-wallet-cli/bin/taler-wallet-cli.mjs
@@ -1,6 +1,6 @@
 #!/usr/bin/env node
 
-import { main } from '../lib/index.js';
+import { main } from '../dist/taler-wallet-cli.js';
 
 async function run() {
   try {
diff --git a/packages/taler-wallet-cli/rollup.config.js 
b/packages/taler-wallet-cli/rollup.config.js
index d9ca132b7..fd3eed97b 100644
--- a/packages/taler-wallet-cli/rollup.config.js
+++ b/packages/taler-wallet-cli/rollup.config.js
@@ -15,7 +15,7 @@ export default {
   input: "lib/index.js",
   output: {
     file: pkg.main,
-    format: "cjs",
+    format: "es",
     sourcemap: true,
     sourcemapPathTransform: (relativeSourcePath, sourcemapPath) => {
       // Transform to source map paths to virtual path.  Otherwise,

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]