mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
* 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>
12 lines
353 B
JavaScript
12 lines
353 B
JavaScript
import { esbuildPluginVersionInjector } from 'esbuild-plugin-version-injector';
|
|
import { createTsupConfig } from '../../tsup.config.js';
|
|
|
|
export default createTsupConfig({
|
|
entry: {
|
|
index: 'src/index.ts',
|
|
defaultWorker: 'src/strategies/sharding/defaultWorker.ts',
|
|
},
|
|
external: ['zlib-sync'],
|
|
esbuildPlugins: [esbuildPluginVersionInjector()],
|
|
});
|