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" } },