Skip to content

Commit 837e4e2

Browse files
committed
Merge all purify plugin options
1 parent 983b865 commit 837e4e2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/plugins/CssPurifierPlugin.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ class CssPurifierPlugin {
1515
paths = paths.concat(Config.purifyCss.paths);
1616
}
1717

18-
paths = Object.assign({ paths }, { minimize: Mix.inProduction() }).paths;
19-
20-
return new Purifier({ paths: paths });
18+
return new Purifier(
19+
Object.assign({}, Config.purifyCss, { paths, minimize: Mix.inProduction() })
20+
);
2121
}
2222
}
2323

0 commit comments

Comments
 (0)