Skip to content
This repository has been archived by the owner on Feb 12, 2024. It is now read-only.

Commit

Permalink
chore: update libp2p noise (#3714)
Browse files Browse the repository at this point in the history
With ChainSafe/js-libp2p-noise#100 in, we can now have a smaller bundle size. Also fixes node build

`libp2p-noise`: ~27% decrease on its bundle size, from 191.5kb to 141.2kb (minified+gzipped)
`ipfs`: ~10% decrease on its bundle size.

Closes #3704
  • Loading branch information
vasco-santos authored Jun 15, 2021
1 parent c91ef59 commit d4a1bf0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/ipfs-core/.aegir.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ module.exports = {
}
},
build: {
bundlesizeMax: '549KB',
bundlesizeMax: '500KB',
config: esbuild
}
}
2 changes: 1 addition & 1 deletion packages/ipfs-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@
"libp2p-kad-dht": "^0.22.0",
"libp2p-mdns": "^0.16.0",
"libp2p-mplex": "^0.10.2",
"libp2p-noise": "^3.0.0",
"libp2p-noise": "^3.1.0",
"libp2p-record": "^0.10.3",
"libp2p-tcp": "^0.15.4",
"libp2p-webrtc-star": "^0.22.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/ipfs/.aegir.js
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ module.exports = {
}
},
build: {
bundlesizeMax: '549KB',
bundlesizeMax: '500KB',
config: esbuild
},
dependencyCheck: {
Expand Down

0 comments on commit d4a1bf0

Please sign in to comment.