{"library":"html-replace-webpack-plugin","type":"library","category":null,"description":"A Webpack plugin that replaces HTML content during build using string or regex patterns. Currently at version 2.6.0 with a low release cadence (last update in 2019). It works exclusively with html-webpack-plugin, processing the output of that plugin. Allows single or multiple replacement rules with string or function replacements. Lightweight alternative to heavier string replacement tasks in Webpack. Only tested with Webpack 4.x; no support for Webpack 5 or ESM.","language":"javascript","status":"maintenance","version":"2.6.0","tags":["javascript","html-replace-webpack-plugin","html","replace","webpack","plugin","iminif"],"last_verified":"Wed May 27","install":[{"cmd":"npm install html-replace-webpack-plugin","imports":["const HtmlReplaceWebpackPlugin = require('html-replace-webpack-plugin')","const HtmlReplaceWebpackPlugin = require('html-replace-webpack-plugin')","new HtmlReplaceWebpackPlugin([{ pattern: 'foo', replacement: 'bar' }])"]},{"cmd":"yarn add html-replace-webpack-plugin","imports":[]},{"cmd":"pnpm add html-replace-webpack-plugin","imports":[]}],"homepage":null,"github":"https://github.com/iminif/html-replace-webpack-plugin","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/html-replace-webpack-plugin","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-replace-webpack-plugin/compatibility"}}