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