{"library":"html-critical-webpack-plugin","type":"library","category":null,"description":"Webpack plugin wrapping the critical CSS inliner library (Addy Osmani's 'critical') to automatically extract and inline critical above-the-fold CSS from emitted HTML files. Version 2.1.0 works with Webpack 4/5 and requires Node >=6. It runs after all assets are emitted, making it compatible with HtmlWebpackPlugin and MiniCssExtractPlugin. Uses Puppeteer/Headless Chrome under the hood, so build environments must have necessary OS dependencies. Released sparingly with no recent activity; last version was published in 2019. Differentiates from other CSS inlining plugins by fully leveraging the 'critical' library's feature set (inline, extract, minify, penthouse config) and precise control over viewport dimensions.","language":"javascript","status":"maintenance","version":"2.1.0","tags":["javascript","webpack","critical"],"last_verified":"Wed May 27","install":[{"cmd":"npm install html-critical-webpack-plugin","imports":["const HtmlCriticalWebpackPlugin = require('html-critical-webpack-plugin');"]},{"cmd":"yarn add html-critical-webpack-plugin","imports":[]},{"cmd":"pnpm add html-critical-webpack-plugin","imports":[]}],"homepage":null,"github":"https://github.com/anthonygore/html-critical-webpack-plugin","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/html-critical-webpack-plugin","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/html-critical-webpack-plugin/compatibility"}}