From 7a5f7f2d041b8d3400a627cb27df376fa4f395f0 Mon Sep 17 00:00:00 2001 From: Yadd Date: Fri, 17 Feb 2023 16:50:44 +0800 Subject: [PATCH] export commonjs files Forwarded: not-needed Last-Update: 2021-10-14 Gbp-Pq: Name build-commonjs-files.patch --- tootallnate-once/package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tootallnate-once/package.json b/tootallnate-once/package.json index 18c4607..f071749 100644 --- a/tootallnate-once/package.json +++ b/tootallnate-once/package.json @@ -3,7 +3,8 @@ "version": "3.0.0", "description": "Creates a Promise that waits for a single event", "type": "module", - "main": "./dist/index.js", + "main": "./dist/index.cjs", + "module": "./dist/index.cjs", "types": "./dist/index.d.ts", "files": [ "dist",