Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
gurgunday committed Feb 3, 2024
1 parent 3a5b9e9 commit 923ab52
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,12 @@ To enable `hash`, you must first disable the `wildcard` option. When enabled, `h

**Note:** Once you generate the hashes using the `npm run hash` script, you need to make sure it's rerun after each file modification.

### Example usage of `npm run hash`

```sh
npm run hash 'test/static/,test/static-dotfiles' true '*.css'
```

#### Example:

```js
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"test": "npm run test:unit && npm run test:typescript",
"test:typescript": "tsd",
"test:unit": "tap",
"hash": "node lib/hash-build.js",
"hash": "node lib/hash-script.js",
"example": "node example/server.js"
},
"repository": {
Expand Down

0 comments on commit 923ab52

Please sign in to comment.