Add option to ignore inline styles/css-in-js/regular css
bartveneman opened this issue · 1 comments
bartveneman commented
I could imagine that in some cases it's not interesting to get the inline styles from a page.
const cssWithoutInlineStyles = await extractCss('test.url', {
includeInlineStyles: false,
includeJsStylesheetsApi: true,
includeLinks: true,
includeStyleTags: true
})bartveneman commented
Hm, thinking about this. After I change the module to return an array of origings instead of a string of all CSS, you could just filter the output yourself.
Closing this.