From 6202d1e2eebe2ff04b0bee07cb52def008f30318 Mon Sep 17 00:00:00 2001 From: Junaid <86780488+jdevcs@users.noreply.github.com> Date: Wed, 31 May 2023 18:42:02 +0200 Subject: [PATCH] min build whitelisting (#6132) --- packages/web3-validator/package.json | 5 +++-- packages/web3/package.json | 3 ++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/packages/web3-validator/package.json b/packages/web3-validator/package.json index c3b12477520..31bba95a667 100644 --- a/packages/web3-validator/package.json +++ b/packages/web3-validator/package.json @@ -11,7 +11,7 @@ "require": "./lib/commonjs/index.js" } }, - "browser": "./dist/web3.min.js", + "browser": "./dist/web3-validator.min.js", "repository": "https://github.com/ChainSafe/web3.js", "author": "ChainSafe Systems", "license": "LGPL-3.0", @@ -21,7 +21,8 @@ }, "files": [ "lib/**/*", - "src/**/*" + "src/**/*", + "dist/**/*" ], "scripts": { "clean": "rimraf dist && rimraf lib", diff --git a/packages/web3/package.json b/packages/web3/package.json index e226ee26e21..94a0477dd18 100644 --- a/packages/web3/package.json +++ b/packages/web3/package.json @@ -26,7 +26,8 @@ ], "files": [ "lib/**/*", - "src/**/*" + "src/**/*", + "dist/**/*" ], "scripts": { "clean": "rimraf dist && rimraf lib",