Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
cletusw committed Oct 11, 2017
1 parent 056a60b commit f456985
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ npm install --save-dev copy-webpack-plugin
A pattern looks like:
`{ from: 'source', to: 'dest' }`

Or, in the simple case of just a `from` with the default destination, you can use a string primitive instead of an object:
`'source'`

#### Pattern properties:

| Name | Required | Default | Details |
Expand Down Expand Up @@ -67,6 +70,9 @@ module.exports = {
// {output}/file.txt
{ from: 'from/file.txt' },

// equivalent
'from/file.txt',

// {output}/to/file.txt
{ from: 'from/file.txt', to: 'to/file.txt' },

Expand Down

0 comments on commit f456985

Please # to comment.