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,