From 94cb182fdd5f25291644b884c6ae35a5ddc07f58 Mon Sep 17 00:00:00 2001 From: Rogin Farrer Date: Mon, 4 Oct 2021 12:30:18 -0400 Subject: [PATCH] fix: remove "exports" from pkg json to fix imports (#75) --- package.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index cf67a63..cf9183d 100644 --- a/package.json +++ b/package.json @@ -5,9 +5,9 @@ "description": "A tiny React custom-hook for creating flexible and accessible expand/collapse components.", "license": "MIT", "source": "src/index.ts", - "module": "dist/react-collapsed.module.js", - "main": "dist/react-collapsed.cjs", - "exports": "dist/react-collapsed.modern.js", + "main": "dist/react-collapsed.js", + "module": "dist/react-collapsed.esm.js", + "umd:main": "dist/react-collapsed.umd.js", "unpkg": "dist/react-collapsed.umd.js", "types": "dist/index.d.ts", "files": [