UNPKG
create-t3-turbo
Version:
latest (1.0.0)
1.0.0
create-t3-turbo
/
tsup.config.ts
13 lines
(10 loc)
•
257 B
text/typescript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
import { defineConfig }
from
"tsup"
;
const
isProduction
= process.env.NODE_ENV ===
"production"
; export
default
defineConfig
({
clean
:
true
,
dts
:
true
,
entry
: [
"src/index.ts"
],
format
: [
"cjs"
,
"esm"
],
minify
: isProduction,
sourcemap
:
true
, });