We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7bd4b10 commit fd0af31Copy full SHA for fd0af31
README.md
@@ -64,6 +64,18 @@ module.exports = {
64
65
And, that's it! Your scripts and view files will be scanned for classes, and those that are unused will be stripped off your CSS - aka. "purified".
66
67
+In order to use this plugin to look into multiple paths you will need to:
68
+
69
+1. npm install --save glob-all
70
+2. Add const glob = require('glob-all'); at the top of your webpack config
71
+3. Then you can pass your paths to an array, like so:
72
+```
73
+paths: glob.sync([
74
+ path.join(__dirname, '.php'),
75
+ path.join(__dirname, 'partials/.php')
76
+]),
77
78
79
> You can pass an object (`<entry> -> [<absolute path>]`) to `paths` if you want to control the behavior per entry.
80
81
<h2 align="center">Options</h2>
0 commit comments