Skip to content

Commit

Permalink
docs: update README (#626)
Browse files Browse the repository at this point in the history
  • Loading branch information
snitin315 committed Aug 23, 2021
1 parent b8c08da commit 6669609
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions README.md
Expand Up @@ -378,11 +378,11 @@ Sometimes it is hard to say what is `to`, example `path/to/dir-with.ext`.
If you want to copy files in directory you need use `dir` option.
We try to automatically determine the `type` so you most likely do not need this option.

| Name | Type | Default | Description |
| :--------------: | :--------: | :---------: | :--------------------------------------------------------------------------------------------------- |
| **`'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://webpack.js.org/configuration/output/#template-strings) |
| Name | Type | Default | Description |
| :---------------------------: | :--------: | :---------: | :--------------------------------------------------------------------------------------------------- |
| **[`'dir'`](#dir)** | `{String}` | `undefined` | If `to` has no extension or ends on `'/'` |
| **[`'file'`](#file)** | `{String}` | `undefined` | If `to` is not a directory and is not a template |
| **[`'template'`](#template)** | `{String}` | `undefined` | If `to` contains [a template pattern](https://webpack.js.org/configuration/output/#template-strings) |

##### `'dir'`

Expand Down Expand Up @@ -780,7 +780,7 @@ module.exports = {
Type: `Boolean`
Default: `false`

Doesn't generate an error on missing file(s);
Doesn't generate an error on missing file(s).

```js
module.exports = {
Expand Down

0 comments on commit 6669609

Please sign in to comment.