[{"data":1,"prerenderedAt":688},["ShallowReactive",2],{"docs-nav":3,"\u002Fdocs\u002Ftransformers\u002Fminify":316},[4,9,15,19,24,28,33,37,41,45,49,53,57,60,63,67,70,74,77,81,85,89,93,97,101,105,109,113,117,121,125,129,133,137,141,145,149,153,156,159,162,165,168,171,175,178,181,184,186,189,192,195,198,201,204,207,210,213,216,219,222,225,228,231,234,237,240,244,247,250,253,257,261,264,267,270,273,276,279,282,285,287,290,293,296,299,302,305,308,311,313],{"path":5,"title":6,"section":7,"order":7,"sidebar":8},"\u002Fbrand","Brand",null,false,{"path":10,"title":11,"section":12,"order":13,"sidebar":14},"\u002Fdocs\u002Fapi\u002Fcomposables","Composables","API",2,true,{"path":16,"title":17,"section":12,"order":18,"sidebar":14},"\u002Fdocs\u002Fapi\u002Futilities","Utilities",1,{"path":20,"title":21,"section":22,"order":23,"sidebar":14},"\u002Fdocs\u002Fcli","CLI","Getting Started",9,{"path":25,"title":26,"section":22,"order":27,"sidebar":14},"\u002Fdocs\u002Fcompatibility","Compatibility",4,{"path":29,"title":30,"section":31,"order":32,"sidebar":14},"\u002Fdocs\u002Fcomponents\u002Fbody","Body","Components",3,{"path":34,"title":35,"section":31,"order":36,"sidebar":14},"\u002Fdocs\u002Fcomponents\u002Fbutton","Button",13,{"path":38,"title":39,"section":31,"order":40,"sidebar":14},"\u002Fdocs\u002Fcomponents\u002Fcodeblock","CodeBlock",18,{"path":42,"title":43,"section":31,"order":44,"sidebar":14},"\u002Fdocs\u002Fcomponents\u002Fcodeinline","CodeInline",19,{"path":46,"title":47,"section":31,"order":48,"sidebar":14},"\u002Fdocs\u002Fcomponents\u002Fcolumn","Column",8,{"path":50,"title":51,"section":31,"order":52,"sidebar":14},"\u002Fdocs\u002Fcomponents\u002Fcontainer","Container",5,{"path":54,"title":55,"section":31,"order":56,"sidebar":14},"\u002Fdocs\u002Fcomponents\u002Ffont","Font",11,{"path":58,"title":59,"section":31,"order":13,"sidebar":14},"\u002Fdocs\u002Fcomponents\u002Fhead","Head",{"path":61,"title":62,"section":31,"order":23,"sidebar":14},"\u002Fdocs\u002Fcomponents\u002Fheading","Heading",{"path":64,"title":65,"section":31,"order":66,"sidebar":14},"\u002Fdocs\u002Fcomponents\u002Fhr","Hr",16,{"path":68,"title":69,"section":31,"order":18,"sidebar":14},"\u002Fdocs\u002Fcomponents\u002Fhtml","Html",{"path":71,"title":72,"section":31,"order":73,"sidebar":14},"\u002Fdocs\u002Fcomponents\u002Fimg","Img",14,{"path":75,"title":76,"section":31,"order":27,"sidebar":14},"\u002Fdocs\u002Fcomponents\u002Flayout","Layout",{"path":78,"title":79,"section":31,"order":80,"sidebar":14},"\u002Fdocs\u002Fcomponents\u002Flink","Link",12,{"path":82,"title":83,"section":31,"order":84,"sidebar":14},"\u002Fdocs\u002Fcomponents\u002Fmarkdown","Markdown",20,{"path":86,"title":87,"section":31,"order":88,"sidebar":14},"\u002Fdocs\u002Fcomponents\u002Fnotoutlook","NotOutlook",22,{"path":90,"title":91,"section":31,"order":92,"sidebar":14},"\u002Fdocs\u002Fcomponents\u002Fnowidows","NoWidows",26,{"path":94,"title":95,"section":31,"order":96,"sidebar":14},"\u002Fdocs\u002Fcomponents\u002Foutlook","Outlook",21,{"path":98,"title":99,"section":31,"order":100,"sidebar":14},"\u002Fdocs\u002Fcomponents\u002Foutlookbg","OutlookBg",23,{"path":102,"title":103,"section":31,"order":104,"sidebar":14},"\u002Fdocs\u002Fcomponents\u002Foverview","Overview",0,{"path":106,"title":107,"section":31,"order":108,"sidebar":14},"\u002Fdocs\u002Fcomponents\u002Fplaintext","Plaintext",31,{"path":110,"title":111,"section":31,"order":112,"sidebar":14},"\u002Fdocs\u002Fcomponents\u002Fpreheader","Preheader",17,{"path":114,"title":115,"section":31,"order":116,"sidebar":14},"\u002Fdocs\u002Fcomponents\u002Fqrcode","QrCode",30,{"path":118,"title":119,"section":31,"order":120,"sidebar":14},"\u002Fdocs\u002Fcomponents\u002Fraw","Raw",28,{"path":122,"title":123,"section":31,"order":124,"sidebar":14},"\u002Fdocs\u002Fcomponents\u002Frow","Row",7,{"path":126,"title":127,"section":31,"order":128,"sidebar":14},"\u002Fdocs\u002Fcomponents\u002Fsection","Section",6,{"path":130,"title":131,"section":31,"order":132,"sidebar":14},"\u002Fdocs\u002Fcomponents\u002Fspacer","Spacer",15,{"path":134,"title":135,"section":31,"order":136,"sidebar":14},"\u002Fdocs\u002Fcomponents\u002Ftailwind","Tailwind",29,{"path":138,"title":139,"section":31,"order":140,"sidebar":14},"\u002Fdocs\u002Fcomponents\u002Ftext","Text",10,{"path":142,"title":143,"section":31,"order":144,"sidebar":14},"\u002Fdocs\u002Fcomponents\u002Fvml","Vml",24,{"path":146,"title":147,"section":31,"order":148,"sidebar":14},"\u002Fdocs\u002Fcomponents\u002Fwithurl","WithUrl",27,{"path":150,"title":151,"section":152,"order":128,"sidebar":14},"\u002Fdocs\u002Fdeploy\u002Faws-ses","AWS SES","Deploy",{"path":154,"title":155,"section":152,"order":124,"sidebar":14},"\u002Fdocs\u002Fdeploy\u002Fcloudflare","Cloudflare",{"path":157,"title":158,"section":152,"order":32,"sidebar":14},"\u002Fdocs\u002Fdeploy\u002Fmailgun","Mailgun",{"path":160,"title":161,"section":152,"order":18,"sidebar":14},"\u002Fdocs\u002Fdeploy\u002Fnodemailer","Nodemailer",{"path":163,"title":164,"section":152,"order":27,"sidebar":14},"\u002Fdocs\u002Fdeploy\u002Fpostmark","Postmark",{"path":166,"title":167,"section":152,"order":52,"sidebar":14},"\u002Fdocs\u002Fdeploy\u002Fresend","Resend",{"path":169,"title":170,"section":152,"order":13,"sidebar":14},"\u002Fdocs\u002Fdeploy\u002Fsendgrid","SendGrid",{"path":172,"title":173,"section":174,"order":32,"sidebar":14},"\u002Fdocs\u002Fdevelopment\u002Fconfiguration","Configuration","Development",{"path":176,"title":177,"section":174,"order":52,"sidebar":14},"\u002Fdocs\u002Fdevelopment\u002Fevents","Events",{"path":179,"title":180,"section":174,"order":128,"sidebar":14},"\u002Fdocs\u002Fdevelopment\u002Fi18n","i18n",{"path":182,"title":183,"section":174,"order":13,"sidebar":14},"\u002Fdocs\u002Fdevelopment\u002Flocal","Dev Server",{"path":185,"title":107,"section":174,"order":27,"sidebar":14},"\u002Fdocs\u002Fdevelopment\u002Fplaintext",{"path":187,"title":188,"section":174,"order":18,"sidebar":14},"\u002Fdocs\u002Fdevelopment\u002Ftemplates","Templates",{"path":190,"title":191,"section":22,"order":32,"sidebar":14},"\u002Fdocs\u002Feditor-setup","Editor Setup",{"path":193,"title":194,"section":22,"order":48,"sidebar":14},"\u002Fdocs\u002Fglossary","Glossary",{"path":196,"title":197,"section":22,"order":128,"sidebar":8},"\u002Fdocs\u002Finstallation\u002Fframeworks","Framework Guides",{"path":199,"title":200,"section":197,"order":52,"sidebar":14},"\u002Fdocs\u002Finstallation\u002Fframeworks\u002Fadonisjs","AdonisJS",{"path":202,"title":203,"section":197,"order":32,"sidebar":14},"\u002Fdocs\u002Finstallation\u002Fframeworks\u002Fastro","Astro",{"path":205,"title":206,"section":197,"order":18,"sidebar":14},"\u002Fdocs\u002Finstallation\u002Fframeworks\u002Flaravel","Laravel",{"path":208,"title":209,"section":197,"order":48,"sidebar":14},"\u002Fdocs\u002Finstallation\u002Fframeworks\u002Fnextjs","Next.js",{"path":211,"title":212,"section":197,"order":13,"sidebar":14},"\u002Fdocs\u002Finstallation\u002Fframeworks\u002Fnuxt","Nuxt",{"path":214,"title":215,"section":197,"order":124,"sidebar":14},"\u002Fdocs\u002Finstallation\u002Fframeworks\u002Fqwik","Qwik",{"path":217,"title":218,"section":197,"order":128,"sidebar":14},"\u002Fdocs\u002Finstallation\u002Fframeworks\u002Fsolid","Solid",{"path":220,"title":221,"section":197,"order":27,"sidebar":14},"\u002Fdocs\u002Finstallation\u002Fframeworks\u002Fsveltekit","SvelteKit",{"path":223,"title":224,"section":197,"order":23,"sidebar":14},"\u002Fdocs\u002Finstallation\u002Fframeworks\u002Ftanstack","TanStack Start",{"path":226,"title":227,"section":22,"order":13,"sidebar":14},"\u002Fdocs\u002Finstallation","Installation",{"path":229,"title":230,"section":22,"order":32,"sidebar":8},"\u002Fdocs\u002Finstallation\u002Fmanual","Manual Installation",{"path":232,"title":233,"section":22,"order":27,"sidebar":8},"\u002Fdocs\u002Finstallation\u002Fmonorepo","Monorepo Installation",{"path":235,"title":236,"section":22,"order":52,"sidebar":8},"\u002Fdocs\u002Finstallation\u002Fvite","Vite Plugin",{"path":238,"title":239,"section":22,"order":18,"sidebar":14},"\u002Fdocs\u002Fintroduction","What is Maizzle?",{"path":241,"title":242,"section":243,"order":13,"sidebar":14},"\u002Fdocs\u002Fmigrate\u002Fmjml","MJML","Migrate to Maizzle",{"path":245,"title":246,"section":243,"order":18,"sidebar":14},"\u002Fdocs\u002Fmigrate\u002Freact-email","React Email",{"path":248,"title":249,"section":22,"order":124,"sidebar":14},"\u002Fdocs\u002Fresources","Resources",{"path":251,"title":252,"section":22,"order":128,"sidebar":14},"\u002Fdocs\u002Fskill","Agent Skill",{"path":254,"title":255,"section":256,"order":18,"sidebar":14},"\u002Fdocs\u002Ftailwindcss","Tailwind CSS","Core Concepts",{"path":258,"title":259,"section":260,"order":13,"sidebar":14},"\u002Fdocs\u002Ftransformers\u002Fadd-attributes","Add Attributes","Transformers",{"path":262,"title":263,"section":260,"order":48,"sidebar":14},"\u002Fdocs\u002Ftransformers\u002Fattribute-to-style","Attribute to Style",{"path":265,"title":266,"section":260,"order":36,"sidebar":14},"\u002Fdocs\u002Ftransformers\u002Fbase-url","Base URL",{"path":268,"title":269,"section":260,"order":66,"sidebar":14},"\u002Fdocs\u002Ftransformers\u002Fentities","Entities",{"path":271,"title":272,"section":260,"order":80,"sidebar":14},"\u002Fdocs\u002Ftransformers\u002Ffilters","Filters",{"path":274,"title":275,"section":260,"order":112,"sidebar":14},"\u002Fdocs\u002Ftransformers\u002Fformat","Format",{"path":277,"title":278,"section":260,"order":32,"sidebar":14},"\u002Fdocs\u002Ftransformers\u002Finline-css","Inline CSS",{"path":280,"title":281,"section":260,"order":56,"sidebar":14},"\u002Fdocs\u002Ftransformers\u002Finline-link","Inline Link",{"path":283,"title":284,"section":260,"order":40,"sidebar":14},"\u002Fdocs\u002Ftransformers\u002Fminify","Minify",{"path":286,"title":103,"section":260,"order":18,"sidebar":14},"\u002Fdocs\u002Ftransformers\u002Foverview",{"path":288,"title":289,"section":260,"order":27,"sidebar":14},"\u002Fdocs\u002Ftransformers\u002Fpurge-css","Purge CSS",{"path":291,"title":292,"section":260,"order":140,"sidebar":14},"\u002Fdocs\u002Ftransformers\u002Fremove-attributes","Remove Attributes",{"path":294,"title":295,"section":260,"order":132,"sidebar":14},"\u002Fdocs\u002Ftransformers\u002Freplace-strings","Replace Strings",{"path":297,"title":298,"section":260,"order":52,"sidebar":14},"\u002Fdocs\u002Ftransformers\u002Fsafe-selectors","Safe Selectors",{"path":300,"title":301,"section":260,"order":128,"sidebar":14},"\u002Fdocs\u002Ftransformers\u002Fshorthand-css","Shorthand CSS",{"path":303,"title":304,"section":260,"order":124,"sidebar":14},"\u002Fdocs\u002Ftransformers\u002Fsix-hex","Six-digit HEX",{"path":306,"title":307,"section":260,"order":73,"sidebar":14},"\u002Fdocs\u002Ftransformers\u002Furl-parameters","URL Parameters",{"path":309,"title":310,"section":22,"order":52,"sidebar":14},"\u002Fdocs\u002Fupgrade-guide","Upgrade Guide",{"path":312,"title":236,"section":256,"order":13,"sidebar":14},"\u002Fdocs\u002Fvite-plugin",{"path":314,"title":315,"section":7,"order":7,"sidebar":8},"\u002Fprivacy","Privacy Policy",{"id":317,"title":284,"body":318,"description":682,"extension":683,"meta":684,"navigation":14,"order":40,"path":283,"section":260,"seo":685,"sidebar":14,"stem":686,"toc":14,"__hash__":687},"docs\u002Fdocs\u002Ftransformers\u002Fminify.md",{"type":319,"value":320,"toc":675},"minimark",[321,325,329,334,337,403,407,412,419,485,502,505,511,653,668,671],[322,323,284],"h1",{"id":324},"minify",[326,327,328],"p",{},"Minify the HTML output to reduce file size. Gmail clips emails around 102KB, so keeping your code lean helps ensure the full email is displayed.",[330,331,333],"h2",{"id":332},"usage","Usage",[326,335,336],{},"The transformer is disabled by default. Enable it in your config:",[338,339,345],"pre",{"className":340,"code":341,"filename":342,"language":343,"meta":344,"style":344},"language-ts shiki shiki-themes laserwave","export default defineConfig({\n  html: {\n    minify: true,\n  },\n})\n","maizzle.config.ts","ts","",[346,347,348,367,379,393,398],"code",{"__ignoreMap":344},[349,350,352,356,359,363],"span",{"class":351,"line":18},"line",[349,353,355],{"class":354},"s0ZPN","export",[349,357,358],{"class":354}," default",[349,360,362],{"class":361},"sZNF3"," defineConfig",[349,364,366],{"class":365},"sGGKt","({\n",[349,368,369,373,376],{"class":351,"line":13},[349,370,372],{"class":371},"sLaUg","  html",[349,374,375],{"class":365},":",[349,377,378],{"class":365}," {\n",[349,380,381,384,386,390],{"class":351,"line":32},[349,382,383],{"class":371},"    minify",[349,385,375],{"class":365},[349,387,389],{"class":388},"skd8d"," true",[349,391,392],{"class":365},",\n",[349,394,395],{"class":351,"line":27},[349,396,397],{"class":365},"  },\n",[349,399,400],{"class":351,"line":52},[349,401,402],{"class":365},"})\n",[330,404,406],{"id":405},"customization","Customization",[408,409,411],"h3",{"id":410},"options","Options",[326,413,414,415,418],{},"Pass an object to customize ",[346,416,417],{},"html-crush"," options. Your options are merged with the defaults.",[338,420,422],{"className":340,"code":421,"filename":342,"language":343,"meta":344,"style":344},"export default defineConfig({\n  html: {\n    minify: {\n      removeLineBreaks: true,\n      removeIndentations: true,\n    },\n  },\n})\n",[346,423,424,434,442,450,461,472,477,481],{"__ignoreMap":344},[349,425,426,428,430,432],{"class":351,"line":18},[349,427,355],{"class":354},[349,429,358],{"class":354},[349,431,362],{"class":361},[349,433,366],{"class":365},[349,435,436,438,440],{"class":351,"line":13},[349,437,372],{"class":371},[349,439,375],{"class":365},[349,441,378],{"class":365},[349,443,444,446,448],{"class":351,"line":32},[349,445,383],{"class":371},[349,447,375],{"class":365},[349,449,378],{"class":365},[349,451,452,455,457,459],{"class":351,"line":27},[349,453,454],{"class":371},"      removeLineBreaks",[349,456,375],{"class":365},[349,458,389],{"class":388},[349,460,392],{"class":365},[349,462,463,466,468,470],{"class":351,"line":52},[349,464,465],{"class":371},"      removeIndentations",[349,467,375],{"class":365},[349,469,389],{"class":388},[349,471,392],{"class":365},[349,473,474],{"class":351,"line":128},[349,475,476],{"class":365},"    },\n",[349,478,479],{"class":351,"line":124},[349,480,397],{"class":365},[349,482,483],{"class":351,"line":48},[349,484,402],{"class":365},[486,487,489],"callout",{"type":488},"info",[326,490,491,492,494,495,501],{},"When ",[346,493,324],{}," is enabled, the ",[496,497,498],"a",{"href":274},[346,499,500],{},"format"," transformer is automatically skipped.",[330,503,12],{"id":504},"api",[326,506,507,508,510],{},"Use ",[346,509,324],{}," programmatically to compress any HTML string outside the build pipeline:",[338,512,514],{"className":340,"code":513,"language":343,"meta":344,"style":344},"import { minify } from '@maizzle\u002Fframework'\n\n\u002F\u002F Defaults only\nconst tight = minify('\u003Cdiv>\\n  \u003Cp>hi\u003C\u002Fp>\\n\u003C\u002Fdiv>')\n\n\u002F\u002F Pass any html-crush option\nconst aggressive = minify(html, {\n  removeLineBreaks: true,\n  removeIndentations: true,\n  removeHTMLComments: 1,\n})\n",[346,515,516,544,549,555,584,588,593,614,625,636,649],{"__ignoreMap":344},[349,517,518,521,524,528,531,534,537,541],{"class":351,"line":18},[349,519,520],{"class":354},"import",[349,522,523],{"class":365}," {",[349,525,527],{"class":526},"sU-n2"," minify",[349,529,530],{"class":365}," }",[349,532,533],{"class":354}," from",[349,535,536],{"class":365}," '",[349,538,540],{"class":539},"sXiT_","@maizzle\u002Fframework",[349,542,543],{"class":365},"'\n",[349,545,546],{"class":351,"line":13},[349,547,548],{"emptyLinePlaceholder":14},"\n",[349,550,551],{"class":351,"line":32},[349,552,554],{"class":553},"sVsQ9","\u002F\u002F Defaults only\n",[349,556,557,561,564,568,570,573,576,579,581],{"class":351,"line":27},[349,558,560],{"class":559},"sIihq","const",[349,562,563],{"class":526}," tight",[349,565,567],{"class":566},"sb4Pa"," =",[349,569,527],{"class":361},[349,571,572],{"class":365},"(",[349,574,575],{"class":365},"'",[349,577,578],{"class":539},"\u003Cdiv>\\n  \u003Cp>hi\u003C\u002Fp>\\n\u003C\u002Fdiv>",[349,580,575],{"class":365},[349,582,583],{"class":365},")\n",[349,585,586],{"class":351,"line":52},[349,587,548],{"emptyLinePlaceholder":14},[349,589,590],{"class":351,"line":128},[349,591,592],{"class":553},"\u002F\u002F Pass any html-crush option\n",[349,594,595,597,600,602,604,606,609,612],{"class":351,"line":124},[349,596,560],{"class":559},[349,598,599],{"class":526}," aggressive",[349,601,567],{"class":566},[349,603,527],{"class":361},[349,605,572],{"class":365},[349,607,608],{"class":526},"html",[349,610,611],{"class":365},",",[349,613,378],{"class":365},[349,615,616,619,621,623],{"class":351,"line":48},[349,617,618],{"class":371},"  removeLineBreaks",[349,620,375],{"class":365},[349,622,389],{"class":388},[349,624,392],{"class":365},[349,626,627,630,632,634],{"class":351,"line":23},[349,628,629],{"class":371},"  removeIndentations",[349,631,375],{"class":365},[349,633,389],{"class":388},[349,635,392],{"class":365},[349,637,638,641,643,647],{"class":351,"line":140},[349,639,640],{"class":371},"  removeHTMLComments",[349,642,375],{"class":365},[349,644,646],{"class":645},"s0EtI"," 1",[349,648,392],{"class":365},[349,650,651],{"class":351,"line":56},[349,652,402],{"class":365},[326,654,655,656,663,664,667],{},"The first argument is an HTML string. The second is an optional ",[496,657,662],{"href":658,"rel":659,"target":661},"https:\u002F\u002Fcodsen.com\u002Fos\u002Fhtml-crush",[660],"nofollow","_blank","html-crush options"," object — Maizzle's only default override (",[346,665,666],{},"removeLineBreaks: true",") is merged underneath.",[326,669,670],{},"Returns the minified HTML string.",[672,673,674],"style",{},"html pre.shiki code .s0ZPN, html code.shiki .s0ZPN{--shiki-default:#40B4C4}html pre.shiki code .sZNF3, html code.shiki .sZNF3{--shiki-default:#EB64B9}html pre.shiki code .sGGKt, html code.shiki .sGGKt{--shiki-default:#7B6995}html pre.shiki code .sLaUg, html code.shiki .sLaUg{--shiki-default:#FFFFFF}html pre.shiki code .skd8d, html code.shiki .skd8d{--shiki-default:#FFE261}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html pre.shiki code .sU-n2, html code.shiki .sU-n2{--shiki-default:#FFF}html pre.shiki code .sXiT_, html code.shiki .sXiT_{--shiki-default:#B4DCE7}html pre.shiki code .sVsQ9, html code.shiki .sVsQ9{--shiki-default:#91889B}html pre.shiki code .sIihq, html code.shiki .sIihq{--shiki-default:#A96BC0}html pre.shiki code .sb4Pa, html code.shiki .sb4Pa{--shiki-default:#74DFC4}html pre.shiki code .s0EtI, html code.shiki .s0EtI{--shiki-default:#B381C5}",{"title":344,"searchDepth":13,"depth":13,"links":676},[677,678,681],{"id":332,"depth":13,"text":333},{"id":405,"depth":13,"text":406,"children":679},[680],{"id":410,"depth":32,"text":411},{"id":504,"depth":13,"text":12},"Minify HTML email output to reduce file size.","md",{},{"title":284,"description":682},"docs\u002Ftransformers\u002Fminify","AQYM1cLGkgOnuTbYB1Ji-9j8-x1Zf5xhSc2cxSS_L2E",1781013242318]