diff --git a/.size-limit.cjs b/.size-limit.cjs index 42982033f8..9c7cd40900 100644 --- a/.size-limit.cjs +++ b/.size-limit.cjs @@ -6,9 +6,12 @@ module.exports = [ }, { name: "Waku default setup", - path: "packages/create/bundle/index.js", - import: - "{ createLightNode, waitForRemotePeer, createEncoder, createDecoder }", + path: ["packages/create/bundle/index.js", "packages/core/bundle/index.js"], + import: { + "packages/create/bundle/index.js": "{ createLightNode }", + "packages/core/bundle/index.js": + "{ waitForRemotePeer, createEncoder, createDecoder }", + }, }, { name: "ECIES encryption", @@ -30,16 +33,16 @@ module.exports = [ { name: "Privacy preserving protocols", path: "packages/core/bundle/index.js", - import: "{ WakuRelay }", + import: "{ wakuRelay }", }, { name: "Light protocols", path: "packages/core/bundle/index.js", - import: "{ WakuLightPush, WakuFilter }", + import: "{ wakuLightPush, wakuFilter }", }, { name: "History retrieval protocols", path: "packages/core/bundle/index.js", - import: "{ WakuStore }", + import: "{ wakuStore }", }, ];