From c29381803e6749f6d72c5caeac0332953e35a9a4 Mon Sep 17 00:00:00 2001 From: Michael van Tellingen Date: Sat, 17 Feb 2024 12:53:28 +0100 Subject: [PATCH] Fix release by setting proper exports field --- .changeset/gentle-fans-leave.md | 5 +++++ package.json | 7 +++++++ 2 files changed, 12 insertions(+) create mode 100644 .changeset/gentle-fans-leave.md diff --git a/.changeset/gentle-fans-leave.md b/.changeset/gentle-fans-leave.md new file mode 100644 index 0000000..1d7daf4 --- /dev/null +++ b/.changeset/gentle-fans-leave.md @@ -0,0 +1,5 @@ +--- +"@labdigital/toolkit": patch +--- + +Fix release by setting proper exports field diff --git a/package.json b/package.json index 11c2411..821ee7a 100644 --- a/package.json +++ b/package.json @@ -6,6 +6,13 @@ "module": "./dist/index.js", "require": "./dist/index.js", "types": "./dist/index.d.ts", + "exports": { + ".": { + "require": "./dist/index.cjs", + "import": "./dist/index.js", + "types": "./dist/index.d.ts" + } + }, "keywords": [], "author": "Lab Digital ", "license": "MIT",