From c8a78292bbf272e29637ccfbd41f3b89b20034d6 Mon Sep 17 00:00:00 2001 From: Christopher Allen Date: Wed, 28 Feb 2024 16:22:41 +0000 Subject: [PATCH] fix(build): Add types: and default: entries to exports['./core'] In the 'blockly/core' export: - Replace the browser: entrypoint with a default: one. - Add a types: entrypoint for core. --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 1f470cfc022..ed5b1c1a6a8 100644 --- a/package.json +++ b/package.json @@ -61,8 +61,9 @@ "default": "./index.js" }, "./core": { - "browser": "./blockly_compressed.js", + "types": "./core.d.ts", "node": "./core-node.js" + "default": "./blockly_compressed.js", }, "./blocks": { "types": "./blocks.d.ts",