From 54becd9bde6f910a3f0e82bfcd0e07e708d823ae Mon Sep 17 00:00:00 2001 From: Konstantin Wohlwend Date: Fri, 10 Oct 2025 10:32:34 -0700 Subject: [PATCH] Fix dev --- configs/tsup/js-library.ts | 4 ++-- pnpm-lock.yaml | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) 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