chore(client): 🔧 Update tsup build configs to standardize ESM output, plugins, and entry points across client/core/server

This commit is contained in:
Lilith 2026-01-23 07:12:21 -08:00
parent 396a1cec63
commit f3b679e9b0
3 changed files with 6 additions and 34 deletions

View file

@ -1,13 +1,5 @@
import { defineConfig } from 'tsup';
import { createLibraryConfig } from '@lilith/configs/tsup/library';
export default defineConfig({
entry: ['src/index.ts'],
format: ['esm'],
dts: true,
clean: true,
sourcemap: true,
target: 'es2022',
export default createLibraryConfig({
bundle: true,
treeshake: true,
external: ['react', 'socket.io-client'],
});

View file

@ -1,12 +1,5 @@
import { defineConfig } from 'tsup';
import { createLibraryConfig } from '@lilith/configs/tsup/library';
export default defineConfig({
entry: ['src/index.ts'],
format: ['esm'],
dts: true,
clean: true,
sourcemap: true,
target: 'es2022',
export default createLibraryConfig({
bundle: true,
treeshake: true,
});

View file

@ -1,18 +1,5 @@
import { defineConfig } from 'tsup';
import { createLibraryConfig } from '@lilith/configs/tsup/library';
export default defineConfig({
entry: ['src/index.ts'],
format: ['esm'],
dts: true,
clean: true,
sourcemap: true,
target: 'es2022',
export default createLibraryConfig({
bundle: true,
treeshake: true,
external: [
'@nestjs/common',
'@nestjs/websockets',
'socket.io',
'rxjs',
],
});