UNPKG
show-hide-lib
Version:
latest (1.1.6)
1.1.6
1.1.5
1.1.4
1.1.3
1.1.2
1.1.1
1.1.0
1.0.0
A simple React component to show or hide content dynamically.
show-hide-lib
/
tsup.config.ts
11 lines
(9 loc)
•
219 B
text/typescript
View Raw
1
2
3
4
5
6
7
8
9
10
11
import { defineConfig }
from
'tsup'
; export
default
defineConfig
({
entry
: [
'src/index.tsx'
],
format
: [
'esm'
,
'cjs'
],
dts
:
true
,
sourcemap
:
true
,
clean
:
true
,
external
: [
'react'
,
'react-dom'
], });