Skip to content

Commit

Permalink
fix bundlesizes
Browse files Browse the repository at this point in the history
  • Loading branch information
James Baxley committed Sep 13, 2017
1 parent 374f176 commit 9b0a587
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,17 +34,17 @@
{
"name": "apollo-client",
"path": "./packages/apollo-client/lib/bundle.min.js",
"threshold": "11 Kb"
"threshold": "11.1 Kb"
},
{
"name": "apollo-client-preset",
"path": "./packages/apollo-client-preset/lib/bundle.min.js",
"threshold": "35 Kb"
"threshold": "28 Kb"
},
{
"name": "apollo-utilities",
"path": "./packages/apollo-utilities/lib/bundle.min.js",
"threshold": "4.6 Kb"
"threshold": "4.65 Kb"
},
{
"name": "graphql-anywhere",
Expand Down
2 changes: 1 addition & 1 deletion packages/apollo-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"build": "tsc",
"build:benchmark": "tsc -p tsconfig.test.json",
"build:browser":
"browserify ./lib/apollo.umd.js -o=./lib/bundle.js --i apollo-utilities --i apollo-cache-core --i apollo-link-core && npm run minify:browser",
"browserify ./lib/apollo.umd.js -o=./lib/bundle.js --i apollo-utilities --i apollo-cache --i apollo-link && npm run minify:browser",
"minify:browser":
"uglifyjs -c -m -o ./lib/bundle.min.js -- ./lib/bundle.js",
"watch": "tsc -w",
Expand Down

0 comments on commit 9b0a587

Please sign in to comment.