js-waku/.size-limit.cjs

41 lines
931 B
JavaScript
Raw Normal View History

module.exports = [
{
name: "Waku core",
2022-08-05 14:36:46 +00:00
path: "bundle/index.js",
import: "{ Waku }",
},
{
name: "Waku default setup",
2022-08-05 14:36:46 +00:00
path: ["bundle/index.js", "bundle/lib/create_waku.js"],
import: {
"./bundle/lib/create_waku.js": "{ createWaku }",
"./bundle/lib/wait_for_remote_peer.js": "{ waitForRemotePeer }",
2022-08-05 14:36:46 +00:00
},
},
{
name: "Asymmetric, symmetric encryption and signature",
2022-08-05 14:36:46 +00:00
path: "bundle/index.js",
import: "{ WakuMessage }",
},
{
name: "DNS discovery",
2022-08-05 14:36:46 +00:00
path: "bundle/lib/peer_discovery_dns.js",
import: "{ PeerDiscoveryDns }",
},
{
name: "Privacy preserving protocols",
2022-08-05 14:36:46 +00:00
path: "bundle/index.js",
import: "{ WakuRelay }",
},
{
name: "Light protocols",
2022-08-05 14:36:46 +00:00
path: "bundle/index.js",
import: "{ WakuLightPush, WakuFilter }",
},
{
name: "History retrieval protocols",
2022-08-05 14:36:46 +00:00
path: "bundle/index.js",
import: "{ WakuStore }",
},
];