{"library":"vite-plugin-beasties","type":"library","category":null,"description":"A Vite plugin that uses the beasties library to automatically identify, inline, and prune critical CSS in HTML pages during build. Current stable version is 0.4.2, with active development and monthly releases. Key differentiators: integrates directly with Vite's transformIndexHtml hook, supports multiple preload strategies (swap, media, JS-based), can prune inlined styles from external CSS files, and respects Vite's public path handling. Compared to critters or other critical CSS tools, it offers a more seamless Vite integration and broader preload strategy options.","language":"javascript","status":"active","version":"0.4.2","tags":["javascript"],"last_verified":"Mon Apr 27","install":[{"cmd":"npm install vite-plugin-beasties","imports":["import { beasties } from 'vite-plugin-beasties'","import type { VitePluginBeastiesOptions } from 'vite-plugin-beasties'","const { beasties } = require('vite-plugin-beasties')"]},{"cmd":"yarn add vite-plugin-beasties","imports":[]},{"cmd":"pnpm add vite-plugin-beasties","imports":[]}],"homepage":null,"github":"https://github.com/danielroe/beasties","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/vite-plugin-beasties","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}