mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-18 04:23:31 +01:00
feat(ws): custom workers (#9004)
* feat(ws): custom workers * chore: typo * refactor(WebSocketShard): expose shard id * chore: remove outdated readme comment * chore: nits * chore: remove unnecessary mutation * feat: fancier resolution * chore: remove unnecessary exports * chore: apply suggestions * refactor: use range errors Co-authored-by: Aura Román <kyradiscord@gmail.com>
This commit is contained in:
@@ -4,7 +4,7 @@ import { createTsupConfig } from '../../tsup.config.js';
|
||||
export default createTsupConfig({
|
||||
entry: {
|
||||
index: 'src/index.ts',
|
||||
worker: 'src/strategies/sharding/worker.ts',
|
||||
defaultWorker: 'src/strategies/sharding/defaultWorker.ts',
|
||||
},
|
||||
external: ['zlib-sync'],
|
||||
esbuildPlugins: [esbuildPluginVersionInjector()],
|
||||
|
||||
Reference in New Issue
Block a user