Skip to content

Commit

Permalink
docs(copy): add better description to copy config (#73) (#75)
Browse files Browse the repository at this point in the history
  • Loading branch information
Phhansen authored and jgw96 committed Oct 19, 2017
1 parent 74597a1 commit 39f35a6
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions docs-md/basics/stencil-config.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,11 @@ exports.config = {
globIgnores: [
'build/app/svg/*.js'
]
}
},
copy: [
{ src: 'images' },
{ src: 'styles', dest: 'css' }
]
};
```

Expand Down Expand Up @@ -58,8 +62,8 @@ set any of the values listed [here in the Workbox documentation](https://workbox

- `copy`

The `copy` config specifies any files that you would like to
get copied over to your `buildDir` when a build is performed.
The `copy` config is an array of objects that define any files or folders that you would like to
get copied over to your `buildDir` when a build is performed. Each object in the array must include a `src` property which can be either an `absolute path`, a `relative path` or a `glob pattern`. You can also provide the optional `dest` property which can be either an `absolute path` or a path `relative` to your `buildDir`.

<stencil-route-link url="/docs/testing" router="#router" custom="true" class="backButton">
Back
Expand Down

0 comments on commit 39f35a6

Please sign in to comment.