Skip to content

Commit

Permalink
fix!(loader): move blurhash to peerDeps (#38)
Browse files Browse the repository at this point in the history
  • Loading branch information
ykzts committed Oct 30, 2020
1 parent b88afb5 commit 2eefe20
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,18 @@

A blurhash loader module for webpack.

[example](https://blurhash-loader-example.vercel.app/)
[Demo](https://blurhash-loader-example.vercel.app/) ([source](example/))

## Install

```console
$ npm install -D blurhash-loader
$ npm install -D blurhash-loader blurhash
```

or

```console
$ yarn add -D blurhash-loader
$ yarn add -D blurhash-loader blurhash
```

## Usage
Expand Down
1 change: 1 addition & 0 deletions example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"postinstall": "cd .. && yarn install --frozen-lockfile && yarn build"
},
"dependencies": {
"blurhash": "^1.1.3",
"next": "10.0.0",
"react": "17.0.1",
"react-blurhash": "^0.1.3",
Expand Down
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
"url": "https://github.com/inabagumi/blurhash-loader/issues"
},
"dependencies": {
"blurhash": "^1.1.3",
"loader-utils": "^2.0.0",
"sharp": "^0.26.2"
},
Expand All @@ -20,6 +19,7 @@
"@types/loader-utils": "^2.0.1",
"@types/sharp": "^0.26.0",
"@types/webpack": "^4.41.24",
"blurhash": "^1.1.3",
"conventional-github-releaser": "^3.1.5",
"eslint": "^7.12.1",
"microbundle": "^0.12.4",
Expand All @@ -34,6 +34,9 @@
],
"license": "MIT",
"name": "blurhash-loader",
"peerDependencies": {
"blurhash": "^1.0.0"
},
"repository": {
"type": "git",
"url": "https://github.com/inabagumi/blurhash-loader.git"
Expand Down

1 comment on commit 2eefe20

@vercel
Copy link

@vercel vercel bot commented on 2eefe20 Oct 30, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.