-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtsup.config.ts
More file actions
30 lines (29 loc) · 949 Bytes
/
Copy pathtsup.config.ts
File metadata and controls
30 lines (29 loc) · 949 Bytes
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
import { defineConfig } from 'tsup';
export default defineConfig({
entry: {
loEvent: 'src/loEvent.ts',
queue: 'src/queue.ts',
debugLog: 'src/debugLog.ts',
consoleLogger: 'src/consoleLogger.ts',
nullLogger: 'src/nullLogger.ts',
websocketLogger: 'src/websocketLogger.ts',
reduxLogger: 'src/reduxLogger.ts',
browserEvents: 'src/browserEvents.ts',
browserStorage: 'src/browserStorage.ts',
disabler: 'src/disabler.ts',
util: 'src/util.ts',
memoryQueue: 'src/memoryQueue.ts',
indexeddbQueue: 'src/indexeddbQueue.ts',
types: 'src/types.ts',
'metadata/browserinfo': 'src/metadata/browserinfo.ts',
'metadata/chromeauth': 'src/metadata/chromeauth.ts',
'metadata/storage': 'src/metadata/storage.ts',
},
format: ['esm'],
dts: true,
sourcemap: true,
clean: true,
splitting: false,
target: 'es2022',
external: ['ws', 'redux', 'redux-thunk', 'redux-state-sync', 'lodash'],
});