addyosmani / addyosmani/critical

Setting target option does not write any files ...

Open
#439 12 comments 0 reactions 0 assignees View on GitHub
awaiting reply
Dominant language
JavaScript
Stars
10.3k
Forks
390
PR merge metrics
No merged PRs in 30d

Description

I have these options:

```
critical.generate({
inline: true,
src: 'index.html',
width: 1300,
height: 900,
extract: true,
base: './',
target: {
css: 'critical.css',
html: 'index-critical.html',
uncritical: 'uncritical.css'
},
ignore: {atrule: ['@charset']}
}).catch(function(err){
throw err;
})
```

But it silently does not write any files ...

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.