From 773308489a4f3cf89923491b170bc96041350893 Mon Sep 17 00:00:00 2001 From: Mihir Gupta Date: Mon, 4 Sep 2023 17:34:39 +0530 Subject: [PATCH] fix: run build before publish --- .changeset/rotten-timers-smash.md | 5 +++++ packages/multiple-entry/package.json | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 .changeset/rotten-timers-smash.md diff --git a/.changeset/rotten-timers-smash.md b/.changeset/rotten-timers-smash.md new file mode 100644 index 0000000..714952a --- /dev/null +++ b/.changeset/rotten-timers-smash.md @@ -0,0 +1,5 @@ +--- +"tsup-subpath-exports": patch +--- + +build before publish diff --git a/packages/multiple-entry/package.json b/packages/multiple-entry/package.json index fd74176..274f09b 100644 --- a/packages/multiple-entry/package.json +++ b/packages/multiple-entry/package.json @@ -10,7 +10,8 @@ "scripts": { "lint": "eslint .", "build": "tsup", - "dev": "pnpm run build --watch" + "dev": "pnpm run build --watch", + "prepare": "pnpm run build" }, "devDependencies": { "@types/fs-extra": "^11.0.1",