-
Notifications
You must be signed in to change notification settings - Fork 83
Open
Description
Hi there! How you doing? Hope you are fine!
I tried making a simple app like this
var extractCss = require('extract-css');
var options = {
url: './',
applyStyleTags: true,
removeStyleTags: true,
applyLinkTags: true,
removeLinkTags: true,
preserveMediaQueries: false
};
var document = `<div style="height: 100%;">
<span style="height: 100%;"> </span>
</div>`
extractCss(document, options, function (err, html, css) {
//console.log(html);
console.log(css);
});
And there is no output..
I read the README.md and see some HTML in the expected folder... but got no more clues about how to make this work,.
Would you be so kind of providing some working examples?
Greetings
Thanks.
Metadata
Metadata
Assignees
Labels
No labels
