dist build should be ESM also
This commit is contained in:
parent
0e7a0741c6
commit
ccd7f07c46
@ -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 {
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user