From 59631fb998e301fecee6e72709cc5c17e8819f99 Mon Sep 17 00:00:00 2001 From: Carlos Serrano Date: Wed, 28 Feb 2024 06:12:47 +0100 Subject: [PATCH] fix(esm build): add type and main to mix package.json --- package.json | 4 ++-- tsconfig.esm.json | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index ea11750..05a57db 100644 --- a/package.json +++ b/package.json @@ -39,8 +39,8 @@ "test:coverage": "node --import tsx --no-warnings --test --experimental-test-coverage ./src/**/*.test.ts", "build": "npm-run-all clean build:*", "clean": "rimraf dist", - "build:cjs": "tsc -p ./tsconfig.cjs.json && cat >dist/cjs/package.json <dist/esm/package.json <dist/cjs/package.json <dist/esm/package.json <