How to use critical-css-generator in Magento2?
Does anyone know how one is suppose to correctly implement critical-css-generator to auto-generate ciritcal.css files in Magento2? I tried to replicate the instructions here: https://www.rohanhapani.com/how-to-enable-and-generate-css-critical-path-in-magento-2/ I have added this block of code const critical = require(‘critical-css-generator’); critical.generate({ url: ‘https://<my website>’,… Read More »How to use critical-css-generator in Magento2?