enable sourcemaps for taler-wallet-cli
This commit is contained in:
parent
d1532f74b5
commit
c35b83cae1
@ -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(),
|
||||
],
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user