rollup-plugin-import-css
JSON →A lightweight Rollup plugin (v4.2.1) for importing CSS into JavaScript via ES module syntax. Supports three import forms: side-effect imports to extract CSS into an external bundle, named imports to get CSS as a string, and import attributes to get a CSSStyleSheet. Features include minification, CSS Modules, runtime injection, preserveModules compatibility, and output file configuration. Differentiators include small size, import-order preservation, and no built-in Sass/Less processing (offers transform function instead). Requires Rollup ^2.x || ^3.x || ^4.x and Node >=16.
Traffic · last 30 days ↓33% vs prev 7d
total hits 12
actors 4 distinct systems
last hit 3d ago Bingbot
top countries 🇺🇸 United States · 🇨🇦 Canada · 🇪🇸 Spain