From 1fb9779b2c073ca317475aeebb1d45982bebc12e Mon Sep 17 00:00:00 2001 From: Rahul Gupta Date: Sat, 24 Feb 2024 02:13:51 +0530 Subject: [PATCH] Fix exports Node.js expects `exports` field to begin with a leading `./`, fixed here. --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 04401de..09d7a57 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "version": "2.0.0-alpha.0", "description": "Implementation of RFC8941, structured headers for HTTP.", "type": "module", - "exports": "dist/index.js", + "exports": "./dist/index.js", "source": "src/index.ts", "types": "dist/index.d.ts", "scripts": {