{"library":"html-loader","type":"library","category":null,"description":"Webpack loader that exports HTML as a string, automatically resolving and processing references to assets like images, scripts, and stylesheets. Current stable release is v5.1.0 (July 2024), with breaking changes in v5.0.0 (Node.js >=18.12.0 required) and v4.0.0 (Node.js >=14.15.0, updated parse5). Key differentiators: supports sources configuration for custom tag/attribute handling, preprocessor and postprocessor hooks, and integrates with webpack's asset modules. Actively maintained under webpack-contrib, with frequent updates and community support.","language":"javascript","status":"active","version":"5.1.0","tags":["javascript","webpack","html","loader"],"last_verified":"Wed May 27","install":[{"cmd":"npm install html-loader","imports":["module.exports = { module: { rules: [ { test: /\\.html$/i, loader: 'html-loader' } ] } };","import HtmlLoader from 'html-loader';","const HtmlLoader = require('html-loader');"]},{"cmd":"yarn add html-loader","imports":[]},{"cmd":"pnpm add html-loader","imports":[]}],"homepage":null,"github":"https://github.com/webpack-contrib/html-loader","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/html-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/html-loader/compatibility"}}