File tree Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -4,21 +4,15 @@ import { replace } from 'esbuild-plugin-replace';
4
4
import minimist from 'minimist' ;
5
5
6
6
const args = minimist ( process . argv . slice ( 2 ) ) ;
7
- const targets = args . _ ;
8
- // const watch = args.watch || args.w;
9
7
const watch = process . env . WATCH ;
10
- const formats = args . formats || args . f ;
11
- const noCheck = args . nocheck || args . n ;
12
8
const sourceMap = args . sourcemap || args . s ;
13
- const mergeTypes = args . mergetypes || args . m ;
14
- const noExternal = args . noExternal || args . e ;
15
9
16
10
export const tsup : Options = {
17
11
sourcemap : sourceMap ,
18
12
clean : true ,
19
13
dts : true ,
20
14
watch : watch ? 'src/' : false ,
21
- format : [ 'cjs' , 'esm' , 'iife' ] ,
15
+ format : [ 'cjs' , 'esm' ] ,
22
16
esbuildPlugins : [
23
17
replace ( {
24
18
__VERSION__ : `'${ pkg . version } '` ,
You can’t perform that action at this time.
0 commit comments