This commit is contained in:
Konstantin Wohlwend 2025-10-10 10:32:34 -07:00
parent 77777a5aed
commit 54becd9bde
2 changed files with 5 additions and 2 deletions

View File

@ -36,10 +36,10 @@ export default function createJsLibraryTsupConfig(options: { barrelFiles?: strin
sourcemap: true,
clean: false,
noExternal: [...customNoExternal],
dts: options.barrelFiles && {
dts: options.barrelFiles ? {
// we only generate types for the barrel file because it drastically decreases the memory needed for tsup https://github.com/egoist/tsup/issues/920#issuecomment-2454732254
entry: options.barrelFiles,
},
} : true,
outDir: 'dist',
format: ['esm', 'cjs'],
legacyOutput: true,

View File

@ -796,6 +796,9 @@ importers:
npm-run-all:
specifier: ^4.1.5
version: 4.1.5
postcss:
specifier: ^8
version: 8.5.3
prettier:
specifier: ^3.5.3
version: 3.5.3