{"library":"css-hot-loader","type":"library","category":null,"description":"Webpack loader for hot module replacement (HMR) of extracted CSS files, specifically designed to work with extract-text-webpack-plugin and mini-css-extract-plugin. Current stable version is 1.4.4, with low release cadence (last release in 2019). Unlike style-loader (which injects styles via <style> tags and causes FOUC), css-hot-loader enables HMR directly on extracted CSS files while preserving the document styles during JavaScript boot. Requires Webpack 4+ and mini-css-extract-plugin; Webpack 5 compatibility is unclear.","language":"javascript","status":"maintenance","version":"1.4.4","tags":["javascript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install css-hot-loader","imports":["module.exports = { module: { rules: [ { test: /\\.css$/, use: ['css-hot-loader', MiniCssExtractPlugin.loader, 'css-loader'] } ] } }","config: { module: { rules: [ { use: ['css-hot-loader?fileMap=../css/{fileName}', ...] } ] } }","config: { module: { rules: [ { use: ['css-hot-loader?reloadAll', ...] } ] } }","config: { module: { rules: [ { use: ['css-hot-loader?cssModule', ...] } ] } }"]},{"cmd":"yarn add css-hot-loader","imports":[]},{"cmd":"pnpm add css-hot-loader","imports":[]}],"homepage":null,"github":"https://github.com/shepherdwind/css-hot-loader","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/css-hot-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/css-hot-loader/compatibility"}}