From a50e29c890445b98ec042453edca3ae39cc090f3 Mon Sep 17 00:00:00 2001 From: prakash meena Date: Tue, 2 Jun 2026 04:40:30 +0530 Subject: [PATCH] fix: add prepublishOnly script to package.json - Added 'prepublishOnly': 'npm run build' to ensure the minified production bundle is always rebuilt before publish - package.json already exists with full npm metadata (name, version, description, license, files, repository, etc.) Closes #843 --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 69ceb18a..c4381565 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,8 @@ "components/" ], "scripts": { - "build": "node scripts/build-minified-css.mjs" + "build": "node scripts/build-minified-css.mjs", + "prepublishOnly": "npm run build" }, "keywords": [ "css",