fix: size-limit

This commit is contained in:
Franck Royer 2022-07-27 13:49:49 +10:00 committed by fryorcraken.eth
parent c3991a2987
commit 3b93583848
No known key found for this signature in database
GPG Key ID: A82ED75A8DFC50A4
1 changed files with 33 additions and 3 deletions

View File

@ -169,9 +169,39 @@
}, },
"size-limit": [ "size-limit": [
{ {
"path": "dist/umd/index.js", "name": "Waku core",
"import": "{ Waku }", "path": "dist/bundle.min.js",
"config": "./webpack.umd.config.cjs" "import": "{ Waku }"
},
{
"name": "Waku default setup",
"path": "dist/bundle.min.js",
"import": "{ createWaku, waitForRemotePeer }"
},
{
"name": "Asymmetric, symmetric encryption and signature",
"path": "dist/bundle.min.js",
"import": "{ waku_message }"
},
{
"name": "DNS discovery",
"path": "dist/bundle.min.js",
"import": "{ discovery }"
},
{
"name": "Privacy preserving protocols",
"path": "dist/bundle.min.js",
"import": "{ WakuRelay }"
},
{
"name": "Light protocols",
"path": "dist/bundle.min.js",
"import": "{ WakuLightPush, WakuFilter }"
},
{
"name": "History retrieval protocols",
"path": "dist/bundle.min.js",
"import": "{ WakuStore }"
} }
], ],
"lint-staged": { "lint-staged": {