Skip to content

Commit d1f4e10

Browse files
committed
Implement #5
1 parent ced9f34 commit d1f4e10

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/index.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ import { merge } from 'lodash'
33
const defaultOptions = {
44
purgecss: {
55
enabled: true,
6+
7+
/* Valid PurgeCss config options */
8+
purgecssOptions: {}
69
},
710
}
811

@@ -46,7 +49,10 @@ const plugin = (options = {}, context) => {
4649
"vue",
4750
"md",
4851
"styl"
49-
]
52+
],
53+
54+
/* spread options */
55+
...purgecss.purgecssOptions,
5056
}
5157
],
5258

0 commit comments

Comments
 (0)