From 487132022be6fcb5a7d7eea668be4c0ba3d03691 Mon Sep 17 00:00:00 2001 From: Kohei Watanabe Date: Sun, 25 Jul 2021 00:34:01 +0900 Subject: [PATCH] fix exports format --- package.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 37a3582..c67b4b4 100644 --- a/package.json +++ b/package.json @@ -1,11 +1,12 @@ { "name": "megabit", - "version": "1.0.0-beta.0", + "version": "1.0.0-beta.1", "description": "Connect real things with Node.js", "main": "cjs/index.js", "type": "commonjs", "exports": { - "import": "./esm/index.js" + "import": "./esm/index.js", + "require": "./cjs/index.js" }, "module": "esm/index.js", "types": "cjs/index.d.js",