You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
515 B
16 lines
515 B
const purify = require("purify-css") |
|
|
|
// Reference of all HTML files from root directory |
|
let content = ['./*.html']; |
|
|
|
// Reference of all CSS files from root directory |
|
let css = ['../.intermediate/simulator.css']; |
|
|
|
let options = { |
|
output: '../.intermediate/simulator.css', |
|
whitelist: ['is-multiple', 'is-loading', 'is-narrow', 'is-active', 'climate-zone', 'grid-recharge', 'is-max-desktop', 'is-max-widescreen', 'line', 'page'], |
|
minify: false, |
|
info: false |
|
}; |
|
|
|
purify(content, css, options);
|
|
|