Files
embeddingsearch/src/Server/Tools/CriticalCSS

How to use CriticalCSS

  1. Install it here
npm i -D critical
npm install puppeteer
  1. Run the css generator:
node CriticalCSSGenerator.js
  1. Move the .css files from the current directory to the CriticalCSS/ folder (overwrite existing files)