{"library":"clean-css-loader","type":"library","category":null,"description":"A webpack loader that minifies CSS using CleanCSS. Current stable version is 4.2.1 (released February 2023), with maintenance-level updates. It supports webpack 2+ and works with schema-utils v3/v4, loader-utils v1-v3. Key differentiators: minimal configuration, supports CleanCSS level 2 optimizations, source maps, and inline import options. Competing loaders like css-minimizer-webpack-plugin are more modern but this loader is simpler for basic minification. Ships TypeScript types.","language":"javascript","status":"active","version":"4.2.1","tags":["javascript","CleanCSS","webpack","loader","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install clean-css-loader","imports":["module.exports = { loader: 'clean-css-loader', options: { ... } }","import 'style-loader!css-loader!clean-css-loader!./style.css'","use: ['style-loader', 'css-loader', 'clean-css-loader']"]},{"cmd":"yarn add clean-css-loader","imports":[]},{"cmd":"pnpm add clean-css-loader","imports":[]}],"homepage":null,"github":"https://github.com/retyui/clean-css-loader","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/clean-css-loader","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/clean-css-loader/compatibility"}}