[{"data":1,"prerenderedAt":813},["ShallowReactive",2],{"docs-side-nav":3,"docs-header-nav":197,"/docs/transformers/minify":270,"docs-bottom-nav":740},{"id":4,"extension":5,"items":6,"meta":194,"stem":195,"__hash__":196},"navigation/data/navigation.json","json",[7,34,46,70,104,155,170],{"name":8,"items":9},"Getting Started",[10,13,16,19,22,25,28,31],{"title":11,"path":12},"What is Maizzle?","/docs/introduction",{"title":14,"path":15},"Installation","/docs/installation",{"title":17,"path":18},"Editor Setup","/docs/editor-setup",{"title":20,"path":21},"Compatibility","/docs/compatibility",{"title":23,"path":24},"Upgrade Guide","/docs/upgrade-guide",{"title":26,"path":27},"Resources","/resources",{"title":29,"path":30},"Glossary","/glossary",{"title":32,"path":33},"CLI","/docs/cli",{"name":35,"items":36},"Concepts",[37,40,43],{"title":38,"path":39},"Environments","/docs/environments",{"title":41,"path":42},"Tailwind CSS","/docs/tailwindcss",{"title":44,"path":45},"Build Process","/docs/build-process",{"name":47,"items":48},"Configuration",[49,52,55,58,61,64,67],{"title":50,"path":51},"CSS","/docs/configuration/css",{"title":53,"path":54},"Build","/docs/configuration/build",{"title":56,"path":57},"Server","/docs/configuration/server",{"title":59,"path":60},"Components","/docs/configuration/components",{"title":62,"path":63},"Expressions","/docs/configuration/expressions",{"title":65,"path":66},"PostHTML","/docs/configuration/posthtml",{"title":68,"path":69},"PostCSS","/docs/configuration/postcss",{"name":71,"items":72},"Development",[73,76,79,81,83,86,89,92,95,98,101],{"title":74,"path":75},"Layouts","/docs/layouts",{"title":77,"path":78},"Templates","/docs/templates",{"title":59,"path":80},"/docs/components",{"title":62,"path":82},"/docs/expressions",{"title":84,"path":85},"Tags","/docs/tags",{"title":87,"path":88},"Assets","/docs/assets",{"title":90,"path":91},"Events","/docs/events",{"title":93,"path":94},"Functions","/docs/functions",{"title":96,"path":97},"Markdown","/docs/markdown",{"title":99,"path":100},"Plaintext","/docs/plaintext",{"title":102,"path":103},"API","/docs/api",{"name":105,"items":106},"Transformers",[107,110,113,116,119,122,125,128,131,134,137,140,143,146,149,152],{"title":108,"path":109},"What are Transformers?","/docs/transformers",{"title":111,"path":112},"Filters","/docs/transformers/filters",{"title":114,"path":115},"Inline CSS","/docs/transformers/inline-css",{"title":117,"path":118},"Safe Selectors","/docs/transformers/safe-class-names",{"title":120,"path":121},"CSS Purging","/docs/transformers/purge-css",{"title":123,"path":124},"Shorthand CSS","/docs/transformers/shorthand-css",{"title":126,"path":127},"Attribute To Style","/docs/transformers/attribute-to-style",{"title":129,"path":130},"Remove Attributes","/docs/transformers/remove-attributes",{"title":132,"path":133},"Add Attributes","/docs/transformers/add-attributes",{"title":135,"path":136},"Replace Strings","/docs/transformers/replace-strings",{"title":138,"path":139},"Widow Words","/docs/transformers/widows",{"title":141,"path":142},"URL Parameters","/docs/transformers/url-parameters",{"title":144,"path":145},"Base URL","/docs/transformers/base-url",{"title":147,"path":148},"Six HEX","/docs/transformers/six-hex",{"title":150,"path":151},"Prettify","/docs/transformers/prettify",{"title":153,"path":154},"Minify","/docs/transformers/minify",{"name":156,"items":157},"Starter Components",[158,161,164,167],{"title":159,"path":160},"Spacer","/docs/components/spacer",{"title":162,"path":163},"Divider","/docs/components/divider",{"title":165,"path":166},"Button","/docs/components/button",{"title":168,"path":169},"VML","/docs/components/vml",{"name":171,"items":172},"Examples",[173,176,179,182,185,188,191],{"title":174,"path":175},"Spacers","/docs/examples/spacers",{"title":177,"path":178},"Dividers","/docs/examples/dividers",{"title":180,"path":181},"Buttons","/docs/examples/buttons",{"title":183,"path":184},"Cards","/docs/examples/cards",{"title":186,"path":187},"Grids","/docs/examples/grids",{"title":189,"path":190},"Google Fonts","/docs/examples/google-fonts",{"title":192,"path":193},"Reverse Stack","/docs/examples/reverse-stack",{},"data/navigation","lXnN10nQFMOp0U7LPKSlEiRFYPoRC0dC5rgvZn8-pes",{"id":4,"extension":5,"items":198,"meta":269,"stem":195,"__hash__":196},[199,209,214,223,236,254,260],{"name":8,"items":200},[201,202,203,204,205,206,207,208],{"title":11,"path":12},{"title":14,"path":15},{"title":17,"path":18},{"title":20,"path":21},{"title":23,"path":24},{"title":26,"path":27},{"title":29,"path":30},{"title":32,"path":33},{"name":35,"items":210},[211,212,213],{"title":38,"path":39},{"title":41,"path":42},{"title":44,"path":45},{"name":47,"items":215},[216,217,218,219,220,221,222],{"title":50,"path":51},{"title":53,"path":54},{"title":56,"path":57},{"title":59,"path":60},{"title":62,"path":63},{"title":65,"path":66},{"title":68,"path":69},{"name":71,"items":224},[225,226,227,228,229,230,231,232,233,234,235],{"title":74,"path":75},{"title":77,"path":78},{"title":59,"path":80},{"title":62,"path":82},{"title":84,"path":85},{"title":87,"path":88},{"title":90,"path":91},{"title":93,"path":94},{"title":96,"path":97},{"title":99,"path":100},{"title":102,"path":103},{"name":105,"items":237},[238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253],{"title":108,"path":109},{"title":111,"path":112},{"title":114,"path":115},{"title":117,"path":118},{"title":120,"path":121},{"title":123,"path":124},{"title":126,"path":127},{"title":129,"path":130},{"title":132,"path":133},{"title":135,"path":136},{"title":138,"path":139},{"title":141,"path":142},{"title":144,"path":145},{"title":147,"path":148},{"title":150,"path":151},{"title":153,"path":154},{"name":156,"items":255},[256,257,258,259],{"title":159,"path":160},{"title":162,"path":163},{"title":165,"path":166},{"title":168,"path":169},{"name":171,"items":261},[262,263,264,265,266,267,268],{"title":174,"path":175},{"title":177,"path":178},{"title":180,"path":181},{"title":183,"path":184},{"title":186,"path":187},{"title":189,"path":190},{"title":192,"path":193},{},{"id":271,"title":272,"body":273,"description":733,"extension":734,"meta":735,"navigation":659,"path":154,"seo":736,"sitemap":737,"stem":738,"__hash__":739},"docs/docs/transformers/minify.md","Email Code Minification",{"type":274,"value":275,"toc":719},"minimark",[276,281,290,293,304,309,357,361,368,412,420,425,429,434,439,452,462,470,474,483,486,489,497,502,506,516,519,541,545,553,564,568,578,586,596,600,609,612,624,627,715],[277,278,280],"h1",{"id":279},"minify-email-code","Minify Email Code",[282,283,284,285,289],"p",{},"Use the ",[286,287,288],"code",{},"minify"," option to trim down the HTML size of your production emails.",[282,291,292],{},"Minified email code weighs less in KB, resulting in faster sendouts, faster opens, and bandwidth savings on limited mobile data plans. Every little bit helps 🙂",[282,294,295,296,303],{},"Additionally, it reduces the risk of ",[297,298,302],"a",{"href":299,"rel":300},"https://github.com/hteumeuleu/email-bugs/issues/41",[301],"nofollow","Gmail clipping",".",[305,306,308],"h2",{"id":307},"usage","Usage",[310,311,317],"pre",{"className":312,"code":313,"filename":314,"language":315,"meta":316,"style":316},"language-js shiki shiki-themes tailwind-css tailwind-css","export default {\n  minify: true,\n}\n","config.js","js","",[286,318,319,335,351],{"__ignoreMap":316},[320,321,324,328,331],"span",{"class":322,"line":323},"line",1,[320,325,327],{"class":326},"sizJ4","export",[320,329,330],{"class":326}," default",[320,332,334],{"class":333},"sprQ5"," {\n",[320,336,338,342,345,348],{"class":322,"line":337},2,[320,339,341],{"class":340},"sfCc6","  minify",[320,343,344],{"class":333},":",[320,346,347],{"class":326}," true",[320,349,350],{"class":333},",\n",[320,352,354],{"class":322,"line":353},3,[320,355,356],{"class":333},"}\n",[305,358,360],{"id":359},"customization","Customization",[282,362,363,364,367],{},"You may configure the underlying ",[286,365,366],{},"html-crush"," library:",[310,369,371],{"className":312,"code":370,"filename":314,"language":315,"meta":316,"style":316},"export default {\n  minify: {\n    lineLengthLimit: 500,\n  }\n}\n",[286,372,373,381,389,401,407],{"__ignoreMap":316},[320,374,375,377,379],{"class":322,"line":323},[320,376,327],{"class":326},[320,378,330],{"class":326},[320,380,334],{"class":333},[320,382,383,385,387],{"class":322,"line":337},[320,384,341],{"class":340},[320,386,344],{"class":333},[320,388,334],{"class":333},[320,390,391,394,396,399],{"class":322,"line":353},[320,392,393],{"class":340},"    lineLengthLimit",[320,395,344],{"class":333},[320,397,398],{"class":340}," 500",[320,400,350],{"class":333},[320,402,404],{"class":322,"line":403},4,[320,405,406],{"class":333},"  }\n",[320,408,410],{"class":322,"line":409},5,[320,411,356],{"class":333},[282,413,414,415,303],{},"Checkout the full list of ",[297,416,419],{"href":417,"rel":418},"https://codsen.com/os/html-crush/#optional-options-object",[301],"html-crush options",[421,422,424],"alert",{"type":423},"warning","\nMinifying email code can lead to unexpected results if not done properly. Make sure you know what you're doing, and always test your emails!\n",[305,426,428],{"id":427},"options","Options",[282,430,431,432,344],{},"These are the options that can be passed inside ",[286,433,288],{},[435,436,438],"h3",{"id":437},"linelengthlimit","lineLengthLimit",[282,440,441,442,445,448,449],{},"Type: ",[286,443,444],{},"Number",[446,447],"br",{},"\nDefault: ",[286,450,451],{},"500",[282,453,454,455,458,459,303],{},"Maximum line length. Works only when ",[286,456,457],{},"removeLineBreaks"," is ",[286,460,461],{},"true",[282,463,464,465,303],{},"Lines should be no longer than 998 characters, as per ",[297,466,469],{"href":467,"rel":468},"https://www.rfc-editor.org/rfc/rfc2822#section-2.1.1",[301],"RFC 2822",[435,471,473],{"id":472},"removeindentations","removeIndentations",[282,475,441,476,479,448,481],{},[286,477,478],{},"Boolean",[446,480],{},[286,482,461],{},[282,484,485],{},"By default, code indentation is removed.",[435,487,457],{"id":488},"removelinebreaks",[282,490,441,491,493,448,495],{},[286,492,478],{},[446,494],{},[286,496,461],{},[282,498,499,500,303],{},"Should line breaks be removed? Maizzle defaults this option to ",[286,501,461],{},[435,503,505],{"id":504},"removehtmlcomments","removeHTMLComments",[282,507,441,508,511,448,513],{},[286,509,510],{},"Boolean|Number",[446,512],{},[286,514,515],{},"false",[282,517,518],{},"When set to a number, these are the available options:",[520,521,522,529,535],"ul",{},[523,524,525,528],"li",{},[286,526,527],{},"0"," - don't remove any HTML comments",[523,530,531,534],{},[286,532,533],{},"1"," - remove all comments except Outlook conditional comments",[523,536,537,540],{},[286,538,539],{},"2"," - remove all comments, including Outlook conditional comments",[435,542,544],{"id":543},"removecsscomments","removeCSSComments",[282,546,441,547,549,448,551],{},[286,548,478],{},[446,550],{},[286,552,461],{},[282,554,555,556,559,560,563],{},"CSS comments are removed by default, both in ",[286,557,558],{},"\u003Cstyle>"," tags and in ",[286,561,562],{},"style=\"\""," attributes.",[435,565,567],{"id":566},"breaktotheleftof","breakToTheLeftOf",[282,569,441,570,573,448,575],{},[286,571,572],{},"String[]",[446,574],{},[286,576,577],{},"['\u003C/td', '\u003Chtml', '\u003C/html', '\u003Chead', '\u003C/head', '\u003Cmeta', '\u003Clink', '\u003Ctable', '\u003Cscript', '\u003C/script', '\u003C!doctype', '\u003Cstyle', '\u003C/style', '\u003Ctitle', '\u003Cbody', '@media', '\u003C/body', '\u003C!--[if', '\u003C!--\u003C![endif', '\u003C![endif]']",[282,579,580,581,458,583,585],{},"When any of given strings are encountered and ",[286,582,457],{},[286,584,461],{},", current line will be terminated.",[282,587,588,589,591,592,595],{},"Set to ",[286,590,515],{}," or ",[286,593,594],{},"null"," or an empty array to disable.",[435,597,599],{"id":598},"mindtheinlinetags","mindTheInlineTags",[282,601,441,602,604,448,606],{},[286,603,572],{},[446,605],{},[286,607,608],{},"['a', 'abbr', 'acronym', 'audio', 'b', 'bdi', 'bdo', 'big', 'br', 'button', 'canvas', 'cite', 'code', 'data', 'datalist', 'del', 'dfn', 'em', 'embed', 'i', 'iframe', 'img', 'input', 'ins', 'kbd', 'label', 'map', 'mark', 'meter', 'noscript', 'object', 'output', 'picture', 'progress', 'q', 'ruby', 's', 'samp', 'script', 'select', 'slot', 'small', 'span', 'strong', 'sub', 'sup', 'svg', 'template', 'textarea', 'time', 'u', 'tt', 'var', 'video', 'wbr']",[282,610,611],{},"Some inline tags can accidentally introduce extra text. The minifier will take extra precaution when minifying around these tags.",[282,613,588,614,616,617,619,620,623],{},[286,615,515],{},", ",[286,618,594],{},", or an empty array ",[286,621,622],{},"[]"," to disable.",[305,625,102],{"id":626},"api",[310,628,631],{"className":312,"code":629,"filename":630,"language":315,"meta":316,"style":316},"import { minify } from '@maizzle/framework'\n\nconst options = {/* html-crush options */}\n\nconst html = await minify('html string', options)\n","app.js",[286,632,633,655,661,681,685],{"__ignoreMap":316},[320,634,635,639,642,646,649,652],{"class":322,"line":323},[320,636,638],{"class":637},"s8qYB","import",[320,640,641],{"class":333}," {",[320,643,645],{"class":644},"sO1gY"," minify",[320,647,648],{"class":333}," }",[320,650,651],{"class":333}," from",[320,653,654],{"class":637}," '@maizzle/framework'\n",[320,656,657],{"class":322,"line":337},[320,658,660],{"emptyLinePlaceholder":659},true,"\n",[320,662,663,666,669,673,675,679],{"class":322,"line":353},[320,664,665],{"class":637},"const",[320,667,668],{"class":340}," options ",[320,670,672],{"class":671},"sVevU","=",[320,674,641],{"class":333},[320,676,678],{"class":677},"smVoC","/* html-crush options */",[320,680,356],{"class":333},[320,682,683],{"class":322,"line":403},[320,684,660],{"emptyLinePlaceholder":659},[320,686,687,689,692,694,697,700,703,706,709,712],{"class":322,"line":409},[320,688,665],{"class":637},[320,690,691],{"class":340}," html ",[320,693,672],{"class":671},[320,695,696],{"class":326}," await",[320,698,645],{"class":699},"s2ImL",[320,701,702],{"class":340},"(",[320,704,705],{"class":340},"'html string'",[320,707,708],{"class":333},",",[320,710,711],{"class":637}," options",[320,713,714],{"class":340},")\n",[716,717,718],"style",{},"html pre.shiki code .sizJ4, html code.shiki .sizJ4{--shiki-light:#EC4899;--shiki-dark:#EC4899}html pre.shiki code .sprQ5, html code.shiki .sprQ5{--shiki-light:#44403C;--shiki-dark:#44403C}html pre.shiki code .sfCc6, html code.shiki .sfCc6{--shiki-light:#1D4ED8;--shiki-dark:#1D4ED8}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .s8qYB, html code.shiki .s8qYB{--shiki-light:#3730A3;--shiki-dark:#3730A3}html pre.shiki code .sO1gY, html code.shiki .sO1gY{--shiki-light:#2563EB;--shiki-dark:#2563EB}html pre.shiki code .sVevU, html code.shiki .sVevU{--shiki-light:#35393E;--shiki-dark:#35393E}html pre.shiki code .smVoC, html code.shiki .smVoC{--shiki-light:#94A3B8;--shiki-light-font-style:italic;--shiki-dark:#94A3B8;--shiki-dark-font-style:italic}html pre.shiki code .s2ImL, html code.shiki .s2ImL{--shiki-light:#00BF99;--shiki-dark:#00BF99}",{"title":316,"searchDepth":337,"depth":337,"links":720},[721,722,723,732],{"id":307,"depth":337,"text":308},{"id":359,"depth":337,"text":360},{"id":427,"depth":337,"text":428,"children":724},[725,726,727,728,729,730,731],{"id":437,"depth":353,"text":438},{"id":472,"depth":353,"text":473},{"id":488,"depth":353,"text":457},{"id":504,"depth":353,"text":505},{"id":543,"depth":353,"text":544},{"id":566,"depth":353,"text":567},{"id":598,"depth":353,"text":599},{"id":626,"depth":337,"text":102},"Minify your HTML email code so that production emails weigh even less, avoiding Gmail clipping.","md",{},{"title":272,"description":733},{"loc":154},"docs/transformers/minify","qTfPrDWoHvJBnMI-nyHcL4WhffByMTzgR1C0PmMOztI",{"id":4,"extension":5,"items":741,"meta":812,"stem":195,"__hash__":196},[742,752,757,766,779,797,803],{"name":8,"items":743},[744,745,746,747,748,749,750,751],{"title":11,"path":12},{"title":14,"path":15},{"title":17,"path":18},{"title":20,"path":21},{"title":23,"path":24},{"title":26,"path":27},{"title":29,"path":30},{"title":32,"path":33},{"name":35,"items":753},[754,755,756],{"title":38,"path":39},{"title":41,"path":42},{"title":44,"path":45},{"name":47,"items":758},[759,760,761,762,763,764,765],{"title":50,"path":51},{"title":53,"path":54},{"title":56,"path":57},{"title":59,"path":60},{"title":62,"path":63},{"title":65,"path":66},{"title":68,"path":69},{"name":71,"items":767},[768,769,770,771,772,773,774,775,776,777,778],{"title":74,"path":75},{"title":77,"path":78},{"title":59,"path":80},{"title":62,"path":82},{"title":84,"path":85},{"title":87,"path":88},{"title":90,"path":91},{"title":93,"path":94},{"title":96,"path":97},{"title":99,"path":100},{"title":102,"path":103},{"name":105,"items":780},[781,782,783,784,785,786,787,788,789,790,791,792,793,794,795,796],{"title":108,"path":109},{"title":111,"path":112},{"title":114,"path":115},{"title":117,"path":118},{"title":120,"path":121},{"title":123,"path":124},{"title":126,"path":127},{"title":129,"path":130},{"title":132,"path":133},{"title":135,"path":136},{"title":138,"path":139},{"title":141,"path":142},{"title":144,"path":145},{"title":147,"path":148},{"title":150,"path":151},{"title":153,"path":154},{"name":156,"items":798},[799,800,801,802],{"title":159,"path":160},{"title":162,"path":163},{"title":165,"path":166},{"title":168,"path":169},{"name":171,"items":804},[805,806,807,808,809,810,811],{"title":174,"path":175},{"title":177,"path":178},{"title":180,"path":181},{"title":183,"path":184},{"title":186,"path":187},{"title":189,"path":190},{"title":192,"path":193},{},1780318595504]