Skip to content

Commit 33e9df5

Browse files
committed
chore(workflow): delete unless format
1 parent f3831f9 commit 33e9df5

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

tsup.config.ts

+1-7
Original file line numberDiff line numberDiff line change
@@ -4,21 +4,15 @@ import { replace } from 'esbuild-plugin-replace';
44
import minimist from 'minimist';
55

66
const args = minimist(process.argv.slice(2));
7-
const targets = args._;
8-
// const watch = args.watch || args.w;
97
const watch = process.env.WATCH;
10-
const formats = args.formats || args.f;
11-
const noCheck = args.nocheck || args.n;
128
const sourceMap = args.sourcemap || args.s;
13-
const mergeTypes = args.mergetypes || args.m;
14-
const noExternal = args.noExternal || args.e;
159

1610
export const tsup: Options = {
1711
sourcemap: sourceMap,
1812
clean: true,
1913
dts: true,
2014
watch: watch ? 'src/' : false,
21-
format: ['cjs', 'esm', 'iife'],
15+
format: ['cjs', 'esm'],
2216
esbuildPlugins: [
2317
replace({
2418
__VERSION__: `'${pkg.version}'`,

0 commit comments

Comments
 (0)