File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -64,6 +64,18 @@ module.exports = {
64
64
65
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
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
+
67
79
> You can pass an object (` <entry> -> [<absolute path>] ` ) to ` paths ` if you want to control the behavior per entry.
68
80
69
81
<h2 align =" center " >Options</h2 >
You can’t perform that action at this time.
0 commit comments