Skip to content

expected #124

@vituchon

Description

@vituchon

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..

image

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

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions