From 47550973c90be3b7f504a7f6e43ffb56e030506c Mon Sep 17 00:00:00 2001 From: Kouji Takao Date: Sun, 11 Aug 2024 21:56:35 +0900 Subject: [PATCH] feat: exports for smalruby3-gui --- package.json | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index fa1f1f503b7..dd4d4d4ae80 100644 --- a/package.json +++ b/package.json @@ -13,10 +13,15 @@ "main": "./dist/node/scratch-vm.js", "browser": "./dist/web/scratch-vm.js", "exports": { - "webpack": "./src/index.js", - "browser": "./dist/web/scratch-vm.js", - "node": "./dist/node/scratch-vm.js", - "default": "./src/index.js" + ".": { + "webpack": "./src/index.js", + "browser": "./dist/web/scratch-vm.js", + "node": "./dist/node/scratch-vm.js", + "default": "./src/index.js" + }, + "./src/engine/variable": { + "import": "./src/engine/variable.js" + } }, "scripts": { "build": "npm run docs && webpack --progress",