Skip to content

Commit

Permalink
Enable tree-shaking (#76)
Browse files Browse the repository at this point in the history
  • Loading branch information
timostamm authored May 6, 2022
1 parent a1ea8e6 commit adeff25
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/bench-codesize/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ minify the bundle, and compress it like a web server would usually do.

| code generator | bundle size | minified | compressed |
|-------------------|------------------------:|-----------------------:|-------------------:|
| protobuf-es | 160,619 b | 86,421 b | 15,098 b |
| protobuf-es | 72,457 b | 35,936 b | 9,393 b |
| google-protobuf | 368,034 b | 270,748 b | 43,704 b |
1 change: 1 addition & 0 deletions packages/protobuf/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"url": "https://github.com/bufbuild/protobuf-es.git",
"directory": "packages/protobuf"
},
"sideEffects": false,
"scripts": {
"clean": "rm -rf ./dist/cjs/* ./dist/esm/* ./dist/types/*",
"build": "npm run build:cjs && npm run build:esm+types",
Expand Down

0 comments on commit adeff25

Please sign in to comment.