From 9e193c2239ee651d5a1fddce499edb664140938f Mon Sep 17 00:00:00 2001 From: Matt Travi Date: Fri, 15 Mar 2024 15:57:42 -0500 Subject: [PATCH] feat(exports): defined `exports` to point at ./index.js BREAKING CHANGE: `exports` has been defined, which prevents access to private apis (which arent intended for consumption anyway) --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index c6c632fc..275e8adc 100644 --- a/package.json +++ b/package.json @@ -60,7 +60,8 @@ "version" ], "license": "MIT", - "main": "index.js", + "main": "./index.js", + "exports": "./index.js", "c8": { "include": [ "lib/**/*.js",