chore: bundle jitsi for config loading
Signed-off-by: NotAShelf <raf@notashelf.dev> Change-Id: Iaf818970d17c911b80d3b5bc634a75896a6a6964
This commit is contained in:
parent
1fe6bfb380
commit
49a8a352df
1 changed files with 13 additions and 0 deletions
13
tsup.config.ts
Normal file
13
tsup.config.ts
Normal file
|
|
@ -0,0 +1,13 @@
|
||||||
|
import { defineConfig } from 'tsup';
|
||||||
|
|
||||||
|
export default defineConfig({
|
||||||
|
entry: ['src/index.ts'],
|
||||||
|
format: 'cjs',
|
||||||
|
dts: true,
|
||||||
|
clean: true,
|
||||||
|
// Bundle jiti into the output so it works without node_modules
|
||||||
|
noExternal: ['jiti'],
|
||||||
|
// Ensure all dependencies are resolved
|
||||||
|
platform: 'node',
|
||||||
|
target: 'node22',
|
||||||
|
});
|
||||||
Loading…
Add table
Add a link
Reference in a new issue