Skip to content
This repository was archived by the owner on Dec 25, 2018. It is now read-only.

Commit f8a6ec0

Browse files
committed
chore - Add info output to demo
1 parent 72066ce commit f8a6ec0

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

examples/webpack.config.js

+4-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,10 @@ module.exports = [
2424
parts.extractCSS(),
2525
parts.purifyCSS(
2626
glob.sync(`${PATHS.app}/*`),
27-
['.html']
27+
['.html'],
28+
{
29+
info: true
30+
}
2831
)
2932
),
3033
merge(

examples/webpack.parts.js

+3-2
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,12 @@ exports.extractCSS = function extractCSS(paths) {
2323

2424
exports.purifyCSS = function purifyCSS(
2525
paths,
26-
extensions
26+
extensions,
27+
purifyOptions
2728
) {
2829
return {
2930
plugins: [
30-
new PurifyCSSPlugin({ paths, extensions })
31+
new PurifyCSSPlugin({ paths, extensions, purifyOptions })
3132
]
3233
};
3334
};

0 commit comments

Comments
 (0)