diff --git a/docs-md/changelog.md b/docs-md/changelog.md index ec48a22d..acb38f70 100644 --- a/docs-md/changelog.md +++ b/docs-md/changelog.md @@ -5,6 +5,10 @@ id: changelog # Changelog +##### 4.3.2 + +- Fix issue build is not generating types + ##### 4.3.1 - Update `readableBytes` to support minimum unit diff --git a/package.json b/package.json index 1b5fd771..a943452c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "common-utils-pkg", - "version": "4.3.1", + "version": "4.3.2", "description": "A package of commonly used JavaScript utilities.", "keywords": [ "utilities", diff --git a/tsup.config.ts b/tsup.config.ts index b0857b5e..31461ab4 100644 --- a/tsup.config.ts +++ b/tsup.config.ts @@ -2,7 +2,7 @@ import { defineConfig } from 'tsup'; export default defineConfig({ entry: ['src/index.ts'], - format: ['esm'], // Build for commonJS and ESmodules + format: ['cjs', 'esm'], // Build for commonJS and ESmodules // dts: true, // Generate declaration file (.d.ts) dts: { compilerOptions: {