Skip to content

Commit

Permalink
feat: turn favicons into a peer dependency
Browse files Browse the repository at this point in the history
BREAKING CHANGE: favicons needs to be installed separately
  • Loading branch information
jantimon committed Jan 6, 2021
1 parent 672decb commit 8141094
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ Leverages on [favicons](https://github.com/haydenbleasel/favicons) to automatica

## Installation

Install the plugin with npm:
Install the plugin and [favicons](https://github.com/haydenbleasel/favicons) with npm:
```shell
$ npm install --save-dev favicons-webpack-plugin
$ npm install --save-dev favicons favicons-webpack-plugin
```

## Zero Config Usage
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@
"cz-conventional-changelog": "3.0.2",
"diffable-html": "4.0.0",
"eslint": "^6.8.0",
"favicons": "^6.2.0",
"fs-extra": "^8.1.0",
"html-webpack-plugin": "^5.0.0-alpha.7",
"image-size": "0.8.3",
Expand All @@ -66,7 +67,6 @@
"@types/favicons": "5.5.0",
"cache-loader": "^4.1.0",
"camelcase": "^5.3.1",
"favicons": "^6.2.0",
"find-cache-dir": "^3.2.0",
"find-root": "^1.1.0",
"loader-utils": "^1.2.3",
Expand All @@ -76,6 +76,7 @@
},
"peerDependencies": {
"webpack": "^5.0.0"
"favicons": ">= 6.2.0"
},
"optionalDependencies": {
"html-webpack-plugin": ">=5.0.0 || ^5.0.0-alpha.7"
Expand Down

0 comments on commit 8141094

Please sign in to comment.