minimalcss won't return any output if javascript breaks
See original GitHub issueHi, @peterbe,
I am running minimalcss in both command line and in node using the following config:
ignoreJSErrors: true,
ignoreCSSErrors: true,
withoutJavascript: true,
ignoreRequestErrors: true,
puppeteerArgs: ['--no-sandbox']
in case the page is having a JS error while rendering, instead of the minimal css it throws an exception.
Same this at minimalcss.app website.
check the following screenshot:
is there a config to avoid this ?
Issue Analytics
- State:
- Created 3 years ago
- Comments:8 (3 by maintainers)
Top Results From Across the Web
peterbe/minimalcss: Extract the minimal CSS used in ... - GitHub
A Node library to extract the minimal CSS used in a set of URLs with puppeteer. Used to find what minimal CSS is...
Read more >Handling common JavaScript problems - MDN Web Docs
Note: The easiest solution is to declare the iteration variable with let instead of var —the value of i associated with the function...
Read more >Why doesn't JavaScript newlines work inside HTML?
js to be able to try out JS scripts from inside vim but when I run this script I get the error "...
Read more >The output of functions that don't return anything should not be ...
If a function does not return anything, it makes no sense to use its output. Specifically, passing it to another function, or assigning...
Read more >Top 10 Most Common Node.js Developer Mistakes - Toptal
This is because calling the callback doesn't automatically end the execution of the current function. If the first “return” was commented out, passing...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Try 0.11.0 now. Some other minor changes in there.
So, I guess we need a new release. I’m on it. Today.