Skip to content
This repository was archived by the owner on Feb 1, 2020. It is now read-only.

Commit 4807e27

Browse files
committed
update README
- update README to be in sync with the documentation website
1 parent 71c63ba commit 4807e27

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

README.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,12 +56,17 @@ module.exports = {
5656
}
5757
```
5858

59-
you can also limit plugin to certain entrypoints via `only` param:
59+
### Options
6060

61-
```
61+
The options available in purgecss [Configuration](https://www.purgecss.com/configuration.html) are also avaiable in the webpack plugin with the exception of css and content.
62+
63+
* #### only
64+
65+
You can specify entrypoints to the purgecss-webpack-plugin with the option only:
66+
67+
```js
6268
new PurgecssPlugin({
6369
paths: glob.sync(`${PATHS.src}/*`),
64-
styleExtensions: ['.css'],
6570
only: ['bundle', 'vendor']
6671
})
6772
```

0 commit comments

Comments
 (0)