diff --git a/configs/tsup/js-library.ts b/configs/tsup/js-library.ts index 90297325d..bc035d74d 100644 --- a/configs/tsup/js-library.ts +++ b/configs/tsup/js-library.ts @@ -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, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 27cf3148c..6edb17856 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -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