diff options
author | Sebastian <sebasjm@gmail.com> | 2022-10-31 13:40:09 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2022-10-31 13:40:27 -0300 |
commit | ccd7f07c460d20bd363875095699263e695cd491 (patch) | |
tree | 5574d296ad7fb4f66c032a13e37357058fbfb50e /packages | |
parent | 0e7a0741c67ef788523eb26afa36105a49405f68 (diff) |
dist build should be ESM also
Diffstat (limited to 'packages')
-rwxr-xr-x | packages/taler-wallet-cli/bin/taler-wallet-cli.mjs | 2 | ||||
-rw-r--r-- | 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, |