mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-17 20:13:30 +01:00
build: tsup for better cjs / esm support
This commit is contained in:
9
packages/ws/tsup.config.js
Normal file
9
packages/ws/tsup.config.js
Normal file
@@ -0,0 +1,9 @@
|
||||
import { createTsupConfig } from '../../tsup.config.js';
|
||||
|
||||
export default createTsupConfig({
|
||||
entry: {
|
||||
index: 'src/index.ts',
|
||||
worker: 'src/strategies/sharding/worker.ts',
|
||||
},
|
||||
external: ['zlib-sync'],
|
||||
});
|
||||
Reference in New Issue
Block a user