Skip to content

Commit

Permalink
docs: improve the description for the toType option (#467)
Browse files Browse the repository at this point in the history
  • Loading branch information
cap-Bernardito committed May 14, 2020
1 parent c0c9fa7 commit bfb4f0e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -288,8 +288,8 @@ We try to automatically determine the `type` so you most likely do not need this

| Name | Type | Default | Description |
| :--------------: | :--------: | :---------: | :------------------------------------------------------------------------------------------------- |
| **`'dir'`** | `{String}` | `undefined` | If `from` is directory, `to` has no extension or ends in `'/'` |
| **`'file'`** | `{String}` | `undefined` | If `to` has extension or `from` is file |
| **`'dir'`** | `{String}` | `undefined` | If `to` has no extension or ends on `'/'` |
| **`'file'`** | `{String}` | `undefined` | If `to` is not a directory and is not a template |
| **`'template'`** | `{String}` | `undefined` | If `to` contains [a template pattern](https://github.com/webpack-contrib/file-loader#placeholders) |

##### `'dir'`
Expand Down

0 comments on commit bfb4f0e

Please sign in to comment.