aboutsummaryrefslogtreecommitdiff
path: root/packages/taler-wallet-cli
diff options
context:
space:
mode:
Diffstat (limited to 'packages/taler-wallet-cli')
-rw-r--r--packages/taler-wallet-cli/rollup.config.js8
1 files changed, 6 insertions, 2 deletions
diff --git a/packages/taler-wallet-cli/rollup.config.js b/packages/taler-wallet-cli/rollup.config.js
index 07930e00f..e7d7a7007 100644
--- a/packages/taler-wallet-cli/rollup.config.js
+++ b/packages/taler-wallet-cli/rollup.config.js
@@ -4,12 +4,14 @@ import nodeResolve from "@rollup/plugin-node-resolve";
import json from "@rollup/plugin-json";
import builtins from "builtin-modules";
import pkg from "./package.json";
+import sourcemaps from 'rollup-plugin-sourcemaps';
export default {
input: "lib/index.js",
output: {
file: pkg.main,
format: "cjs",
+ sourcemap: true,
},
external: builtins,
plugins: [
@@ -17,12 +19,14 @@ export default {
preferBuiltins: true,
}),
- json(),
+ sourcemaps(),
commonjs({
- sourceMap: false,
+ sourceMap: true,
transformMixedEsModules: true,
}),
+
+ json(),
],
}