Skip to content

Commit

Permalink
v2.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
benelan committed Feb 19, 2022
1 parent df8210f commit 920c67c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ The sizes will be logged to the console after running `npm run build`.

### Using the functions

The package also exports a few functions. Here is a usage example:
The package also exports a few functions. Here is [the documentation](https://benelan.github.io/build-sizes/global.html), and here is a usage example:

```js
const { getBuildSizes, formatBytes } = require("build-sizes");
Expand All @@ -99,5 +99,3 @@ const { getBuildSizes, formatBytes } = require("build-sizes");
}
})();
```

Check out the documentation for more info about the functions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"name": "build-sizes",
"version": "2.3.0",
"version": "2.4.0",
"description": "A small script that provides build sizes to assist with optimization",
"homepage": "https://benelan.github.io/build-sizes",
"keywords": [
"metrics",
"size",
Expand All @@ -11,7 +12,7 @@
],
"author": {
"name": "Ben Elan",
"url": "https://benelan.dev/"
"url": "https://benelan.dev"
},
"main": "./index.js",
"exports": "./index.js",
Expand Down

0 comments on commit 920c67c

Please sign in to comment.