{"library":"esbuild-plugin-minify-html","type":"library","category":null,"description":"An esbuild plugin that imports HTML files as minified raw text strings at build time, using html-minifier-terser for minification. Version 0.1.2 is the current stable release, with infrequent updates. It differentiates itself from raw-text loaders by combining import and minification in one plugin, eliminating the need for a separate minification step. Ships TypeScript types and supports customizable minifier options like collapseWhitespace.","language":"javascript","status":"active","version":"0.1.2","tags":["javascript","esbuild","esbuild-plugin","html","raw","minify","typescript"],"last_verified":"Fri May 01","install":[{"cmd":"npm install esbuild-plugin-minify-html","imports":["import minifyHTML from 'esbuild-plugin-minify-html'","import content from './file.html?raw'","declare module '*.html?raw' { const src: string; export default src; }"]},{"cmd":"yarn add esbuild-plugin-minify-html","imports":[]},{"cmd":"pnpm add esbuild-plugin-minify-html","imports":[]}],"homepage":null,"github":"https://github.com/hatemhosny/esbuild-plugin-minify-html","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/esbuild-plugin-minify-html","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}