Skip to content

Commit a221a69

Browse files
committed
Fixed cli
1 parent 7a1c93e commit a221a69

4 files changed

Lines changed: 63659 additions & 834 deletions

File tree

build.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ await build({
44
entryPoints: ['./src/index.js'], // Your CLI entry file
55
bundle: true,
66
platform: 'node',
7-
outfile: 'dist/mapm.js',
7+
outfile: 'dist/mapm.cjs',
88
banner: {
99
// js: '#!/usr/bin/env node',
1010
},
1111

12-
format: 'esm',
12+
format: 'cjs',
1313
target: ['node18'],
1414
});

0 commit comments

Comments
 (0)