From b36a4d0cc67dbaad1ba5fe140803dd44217a8b2e Mon Sep 17 00:00:00 2001 From: Wanseob Lim Date: Sat, 9 Mar 2024 17:30:15 +0900 Subject: [PATCH] fix esm path on package.json (#143) The module path defined on package.json does not match with the exports and the artifacts. This change's not tested but current release of `a68ac06` is emitting an error on some builds. --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 057cda3..1e5621f 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "version": "3.1.0", "description": "An EventEmitter that isolates the emitter from errors in handlers", "main": "dist/cjs/index.js", - "module": "dist/esm/index.js", + "module": "dist/esm/index.mjs", "types": "dist/cjs/index.d.ts", "exports": { ".": {