-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtsup.config.ts
46 lines (45 loc) · 1.44 KB
/
tsup.config.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
import { defineConfig } from 'tsup';
export default defineConfig({
entry: {
arrays: `./src/data/arrays/index.ts`,
bundle: `./src/index.ts`,
collections: `./src/collections/index.ts`,
chains: './src/iterables/chain/index.ts',
components: `./src/components/index.ts`,
webcomponents: `./src/web-components/index.ts`,
data: `./src/data/index.ts`,
dom: `./src/dom/index.ts`,
debug: `./src/debug/index.ts`,
events: `./src/Events.ts`,
flow: './src/flow/index.ts',
forms: `./src/dom/Forms.ts`,
global: `./src/MakeGlobal.ts`,
geometry: `./src/geometry/index.ts`,
guards: `./src/util/guards.ts`,
iterables: './src/iterables/index.ts',
io: './src/io/index.ts',
maps: `./src/collections/Map/index.ts`,
modulation: `./src/modulation/index.ts`,
numbers: `./src/numbers/index.ts`,
queues: `./src/collections/queue/index.ts`,
random: `./src/random/index.ts`,
rx: `./src/rx/index.ts`,
sets: `./src/collections/set/index.ts`,
stateMachine: `./src/flow/StateMachine.ts`,
svg: `./src/visual/Svg.ts`,
text: `./src/Text.ts`,
trees: './src/collections/tree/index.ts',
trackers: './src/trackers/index.ts',
util: `./src/util/index.ts`,
visual: `./src/visual/index.ts`,
},
dts: true,
experimentalDts: false,
sourcemap: true,
noExternal: [ `bezier-js`, `colorjs.io`, `json5`, `lit-html` ],
platform: `browser`,
target: `es2022`,
format: [
`esm`
]
});