Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Empty output css file when all original css is inlined? #23

Open
azirer opened this issue Jun 6, 2016 · 2 comments
Open

Empty output css file when all original css is inlined? #23

azirer opened this issue Jun 6, 2016 · 2 comments

Comments

@azirer
Copy link

azirer commented Jun 6, 2016

On a website I have all css is inlined for every page and every page has different css. So I'm using this

critical: {
    test: {
        options: {
            base: './',
            inline:false,
            extract:true,
            minify:true
        },
        src: 'https://mydomain.com/',
        dest: 'output/critical.css'
    }
}

But output/critical.css is empty. Using the same options when styles are external files I get the critical css file as intended. Am I doing anything wrong or doesn't this script evaluate <style type="text/css">css code here </style> inside the <head>?

@bezoerb
Copy link
Owner

bezoerb commented Jun 9, 2016

@azirer i'm quite busy at the moment. Trying to take a look as soon as possible

@XhmikosR
Copy link
Collaborator

@azirer: can you share a complete test case, preferably a small repo?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants