Skip to content
This repository was archived by the owner on Mar 17, 2023. It is now read-only.

Add libpng warning to install instructions #66

Merged
merged 1 commit into from
Jan 19, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,18 @@ Image loader module for webpack
$ npm install image-webpack-loader --save-dev
```

### libpng issues

Installing on some versions of OSX may raise errors with a [missing libpng dependency](https://github.com/tcoopman/image-webpack-loader/issues/51#issuecomment-273597313):
```
Module build failed: Error: dyld: Library not loaded: /usr/local/opt/libpng/lib/libpng16.16.dylib
```
This can be remedied by installing the newest version of libpng with [homebrew](http://brew.sh/):

```sh
brew install libpng
```

## Usage

[Documentation: Using loaders](http://webpack.github.io/docs/using-loaders.html)
Expand Down Expand Up @@ -233,6 +245,7 @@ Default: `false`

Print verbose status messages.


## Inspiration

* [gulp-imagemin](https://github.com/sindresorhus/gulp-imagemin)
Expand Down