Skip to content

Commit

Permalink
README
Browse files Browse the repository at this point in the history
  • Loading branch information
iampava committed Jun 6, 2020
1 parent 255235f commit d1675b6
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,13 @@ By default the webpack build will fail if any of the images that match your RegE

This option tells the plugin to not crash the build and keep going :)


## Other mentions

* it doesn't re-convert images while developing
* if you change the actual image but keep the name, somehow `webpack` is smart enough to detect this and it will re-convert just that image
* there's a [test-project](https://github.com/iampava/imagemin-webp-webpack-plugin/tree/master/test-project) included in this repo for easy testing and tweaking of the plugin (in case you find bugs)

<hr/>

<p align="center"> Made with ❤ by <a href="https://iampava.com"> Pava </a></p>
5 changes: 3 additions & 2 deletions test-project/README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
# imagemin-webp-webpack-plugin | test project

`npm run dev` for development build + webpack-dev-server
`npm install` **(both the root folder & this folder)**

`npm run prod` for production build
* `npm run dev` for development build + webpack-dev-server
* `npm run prod` for production build

<hr/>

Expand Down

0 comments on commit d1675b6

Please sign in to comment.