From 680d05674f979c1a02ae7c6b9f885114e962324e Mon Sep 17 00:00:00 2001 From: Jordan Harband Date: Wed, 2 Nov 2022 09:56:21 -0700 Subject: [PATCH] [meta] simplify `exports` --- package.json | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/package.json b/package.json index 105f43a..03e40b5 100644 --- a/package.json +++ b/package.json @@ -4,16 +4,9 @@ "description": "What is the type of this builtin JS value?", "main": "index.js", "exports": { - ".": [ - { - "require": "./index.js", - "default": "./index.js" - }, - "./index.js" - ], + ".": "./index.js", "./package.json": "./package.json" }, - "type": "commonjs", "scripts": { "prepack": "npmignore --auto --commentLines=autogenerated", "prepublish": "not-in-publish || npm run prepublishOnly",