Skip to content

Commit

Permalink
docs: update ignore instructions (#410)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffin143 authored and evilebottnawi committed Dec 9, 2019
1 parent 45780be commit d155dd0
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions README.md
Expand Up @@ -315,6 +315,23 @@ module.exports = {
],
};
```
> ⚠️ Note that only relative path should be provided to ignore option, an example to ignore `src/assets/subfolder/ignorfile.js` :
**webpack.config.js**

```js
module.exports = {
plugins: [
new CopyPlugin([
{
from: 'src/assets',
to: 'dest/',
ignore: ['subfolder/ingorefile.js'],
},
]),
],
};
```

#### `flatten`

Expand Down

0 comments on commit d155dd0

Please sign in to comment.