Skip to content

Commit 2ba3e39

Browse files
committed
address bundlesize issue
1 parent 582af96 commit 2ba3e39

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

packages/clerk-js/bundlewatch.config.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
{
22
"files": [
3-
{ "path": "./dist/clerk.js", "maxSize": "81*KB" },
3+
{ "path": "./dist/clerk.js", "maxSize": "818KB" },
44
{ "path": "./dist/clerk.browser.js", "maxSize": "78KB" },
55
{ "path": "./dist/clerk.legacy.browser.js", "maxSize": "120KB" },
66
{ "path": "./dist/clerk.headless*.js", "maxSize": "61KB" },
77
{ "path": "./dist/ui-common*.js", "maxSize": "117.1KB" },
88
{ "path": "./dist/ui-common*.legacy.*.js", "maxSize": "118KB" },
9-
{ "path": "./dist/vendors*.js", "maxSize": "43.78KB" },
9+
{ "path": "./dist/vendors*.js", "maxSize": "45KB" },
1010
{ "path": "./dist/coinbase*.js", "maxSize": "38KB" },
1111
{ "path": "./dist/stripe-vendors*.js", "maxSize": "1KB" },
1212
{ "path": "./dist/createorganization*.js", "maxSize": "5KB" },

packages/clerk-js/rspack.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ const common = ({ mode, variant, disableRHC = false }) => {
9797
chunks: 'all',
9898
},
9999
baseAccountSDKVendor: {
100-
test: /[\\/]node_modules[\\/](@base-org\/account|viem|ox|@noble\/curves)[\\/]/,
100+
test: /[\\/]node_modules[\\/](@base-org\/account|@noble\/curves|abitype|ox|preact|eventemitter3|viem|zustand)[\\/]/,
101101
name: 'base-account-sdk',
102102
chunks: 'all',
103103
},

0 commit comments

Comments
 (0)