From cc1748131201c80444d4399b0e643298f2b78382 Mon Sep 17 00:00:00 2001 From: Matthew Phillips Date: Wed, 20 Nov 2024 07:21:31 -0500 Subject: [PATCH] Add debug to package exports (#221) Fixes #209 --- .changeset/famous-pandas-grab.md | 5 +++++ packages/core/package.json | 6 +++++- 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 .changeset/famous-pandas-grab.md diff --git a/.changeset/famous-pandas-grab.md b/.changeset/famous-pandas-grab.md new file mode 100644 index 00000000..13cc6351 --- /dev/null +++ b/.changeset/famous-pandas-grab.md @@ -0,0 +1,5 @@ +--- +"robot3": patch +--- + +Add debug to package exports diff --git a/packages/core/package.json b/packages/core/package.json index f2ca9601..381c1e16 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -7,10 +7,14 @@ "exports": { ".": { "require": "./dist/machine.js", - "types": "./index.d.ts", "import": "./machine.js", "default": "./machine.js", "types": "./index.d.ts" + }, + "./debug": { + "require": "./dist/debug.js", + "import": "./debug.js", + "default": "./debug.js" } }, "files": [