From 18108d0b14b05d397dd74f2a30c65e91548792fa Mon Sep 17 00:00:00 2001 From: Hans Otto Wirtz Date: Wed, 12 Nov 2025 08:30:31 +0100 Subject: [PATCH] chore!: only build esm --- package.json | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index a48e112..e12eda8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-done-tracker", - "version": "0.0.19", + "version": "0.1.0", "description": "Keep track of when your React tree is done loading", "type": "module", "main": "./dist/index.js", @@ -8,12 +8,11 @@ "author": "Hans Otto Wirtz ", "license": "MIT", "exports": { - "require": "./dist/index.cjs", "types": "./dist/index.d.ts", "default": "./dist/index.js" }, "scripts": { - "build": "tsup src/index.ts --format cjs,esm --dts", + "build": "tsup src/index.ts --format esm --dts", "storybook": "storybook dev -p 6006", "build-storybook": "storybook build", "test": "pnpm test-vitest && pnpm test-storybook",