From d8be034f9c81197f9515a2f353fa5c4038862f29 Mon Sep 17 00:00:00 2001 From: Cynthia Date: Sat, 1 Jun 2024 18:42:26 +0200 Subject: [PATCH] fix: ditch conditional export syntax (to please bundlephobia) closes #21 --- package.json | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/package.json b/package.json index db1dc61..7be6a07 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "smol-toml", - "version": "1.2.0", + "version": "1.2.1", "keywords": [ "toml", "parser", @@ -34,12 +34,7 @@ "typescript": "^5.4.5", "vitest": "^1.6.0" }, - "exports": { - ".": { - "types": "./dist/index.d.ts", - "default": "./dist/index.js" - } - }, + "main": "./dist/index.js", "types": "./dist/index.d.ts", "files": [ "README.md",