From e9c9f8f5c1957f68eda7a58cb82732815d8aa83b Mon Sep 17 00:00:00 2001 From: isaacs Date: Sun, 28 Apr 2024 15:18:55 -0700 Subject: [PATCH] actually fix minified export paths Re: #334 --- package.json | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index c7ebb39..d7ad480 100644 --- a/package.json +++ b/package.json @@ -11,8 +11,7 @@ "sideEffects": false, "scripts": { "build": "npm run prepare", - "prepare": "tshy", - "postprepare": "bash fixup.sh", + "prepare": "tshy && bash fixup.sh", "pretest": "npm run prepare", "presnap": "npm run prepare", "test": "tap", @@ -105,8 +104,8 @@ }, "./min": { "import": { - "types": "./dist/mjs/index.d.ts", - "default": "./dist/mjs/index.min.js" + "types": "./dist/esm/index.d.ts", + "default": "./dist/esm/index.min.js" }, "require": { "types": "./dist/commonjs/index.d.ts",