Skip to content

Commit

Permalink
build(npm): --force flag to install optional deps
Browse files Browse the repository at this point in the history
  • Loading branch information
curbengh committed Jun 8, 2024
1 parent 73db847 commit e33fd0e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .npmrc
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
package-lock=false
optional=false
optional=true
force=true
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Yet Another Minifier for Hexo. Minify and compress HTML, JS, CSS, SVG, XML and J
## Installation

```bash
$ npm install hexo-yam --save
$ npm install hexo-yam --save --include=optional --force
```

## Options
Expand Down

0 comments on commit e33fd0e

Please sign in to comment.