From 400a4b2dfab8c591b67869b7c6d4e0b41f9a9755 Mon Sep 17 00:00:00 2001 From: Jack Works Date: Mon, 26 Oct 2020 15:31:04 +0800 Subject: [PATCH] fix: exports --- package.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 17bb835..7994912 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,10 @@ "import": "./es/index.js", "require": "./umd/index.cjs" }, - "./es": "./es/index.js" + "./es": { + "import": "./es/index.js", + "require": "./umd/index.cjs" + } }, "scripts": { "build": "env-cmd -e production run-p clean \"build:tsc -- {@}\" build:rollup",