From fc4806e65a19c7bff12c098d63acc2cc97249b9d Mon Sep 17 00:00:00 2001 From: Erik Rahm Date: Mon, 23 Oct 2023 05:01:02 -0700 Subject: [PATCH] fix -- issues/198 (#202) * Adding an export property to the core package.json for 'import' so that destructured imports work, in addition to the default imports handled by the 'default' property * Create short-months-sing.md --- .changeset/short-months-sing.md | 5 +++++ packages/core/package.json | 1 + 2 files changed, 6 insertions(+) create mode 100644 .changeset/short-months-sing.md diff --git a/.changeset/short-months-sing.md b/.changeset/short-months-sing.md new file mode 100644 index 00000000..98400100 --- /dev/null +++ b/.changeset/short-months-sing.md @@ -0,0 +1,5 @@ +--- +"robot3": patch +--- + +Adding an export property to the core package.json for 'import' so that destructured imports work, in addition to the default imports handled by the 'default' property diff --git a/packages/core/package.json b/packages/core/package.json index 729b311a..618ca6d6 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -6,6 +6,7 @@ "exports": { ".": { "require": "./dist/machine.js", + "import": "./machine.js", "default": "./machine.js" } },