[{"data":1,"prerenderedAt":1789},["ShallowReactive",2],{"docs-side-nav":3,"docs-header-nav":197,"/docs/configuration/build":270,"docs-bottom-nav":1716},{"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":1709,"extension":1710,"meta":1711,"navigation":709,"path":54,"seo":1712,"sitemap":1713,"stem":1714,"__hash__":1715},"docs/docs/configuration/build.md","Build configuration",{"type":274,"value":275,"toc":1692},"minimark",[276,280,284,292,362,366,379,382,393,399,405,447,453,497,512,517,528,572,576,586,648,652,655,745,749,753,756,810,813,823,826,829,839,842,897,915,918,927,935,998,1004,1007,1010,1019,1022,1036,1039,1126,1141,1147,1152,1158,1176,1179,1187,1193,1250,1257,1260,1263,1309,1312,1358,1369,1372,1381,1384,1399,1465,1468,1556,1567,1570,1580,1583,1622,1631,1634,1644,1647,1660,1670,1688],[277,278,272],"h1",{"id":279},"build-configuration",[281,282,283],"p",{},"Configure the paths where Maizzle should look for Templates to compile, where they should be output to, or what extensions they should use.",[281,285,286,287,291],{},"This is done under the ",[288,289,290],"code",{},"build"," key of your config:",[293,294,300],"pre",{"className":295,"code":296,"filename":297,"language":298,"meta":299,"style":299},"language-js shiki shiki-themes tailwind-css tailwind-css","export default {\n  build: {\n    content: ['emails/**/*.html'],\n  }\n}\n","config.js","js","",[288,301,302,318,330,350,356],{"__ignoreMap":299},[303,304,307,311,314],"span",{"class":305,"line":306},"line",1,[303,308,310],{"class":309},"sizJ4","export",[303,312,313],{"class":309}," default",[303,315,317],{"class":316},"sprQ5"," {\n",[303,319,321,325,328],{"class":305,"line":320},2,[303,322,324],{"class":323},"sfCc6","  build",[303,326,327],{"class":316},":",[303,329,317],{"class":316},[303,331,333,336,338,341,344,347],{"class":305,"line":332},3,[303,334,335],{"class":323},"    content",[303,337,327],{"class":316},[303,339,340],{"class":323}," [",[303,342,343],{"class":323},"'emails/**/*.html'",[303,345,346],{"class":323},"]",[303,348,349],{"class":316},",\n",[303,351,353],{"class":305,"line":352},4,[303,354,355],{"class":316},"  }\n",[303,357,359],{"class":305,"line":358},5,[303,360,361],{"class":316},"}\n",[363,364,365],"h2",{"id":365},"content",[281,367,368,369,372,375,376],{},"Type: ",[288,370,371],{},"String[]",[373,374],"br",{},"\nDefault: ",[288,377,378],{},"['emails/**/*.html']",[281,380,381],{},"Define the source directories where Maizzle should look for Templates to compile.",[281,383,384,385,392],{},"This is an array of glob patterns, similar to how content sources are configured in Tailwind CSS. See ",[386,387,391],"a",{"href":388,"rel":389},"https://github.com/mrmlnc/fast-glob",[390],"nofollow","fast-glob"," for how to write glob patterns.",[281,394,395,396,398],{},"The ",[288,397,365],{}," key is unique to each config file - unlike other options in your config, it is not merged when using multiple Environments. This way, we avoid processing unwanted Templates when building for a specific Environment.",[281,400,401,402,404],{},"To illustrate this, imagine this is your ",[288,403,297],{}," file:",[293,406,407],{"className":295,"code":296,"filename":297,"language":298,"meta":299,"style":299},[288,408,409,417,425,439,443],{"__ignoreMap":299},[303,410,411,413,415],{"class":305,"line":306},[303,412,310],{"class":309},[303,414,313],{"class":309},[303,416,317],{"class":316},[303,418,419,421,423],{"class":305,"line":320},[303,420,324],{"class":323},[303,422,327],{"class":316},[303,424,317],{"class":316},[303,426,427,429,431,433,435,437],{"class":305,"line":332},[303,428,335],{"class":323},[303,430,327],{"class":316},[303,432,340],{"class":323},[303,434,343],{"class":323},[303,436,346],{"class":323},[303,438,349],{"class":316},[303,440,441],{"class":305,"line":352},[303,442,355],{"class":316},[303,444,445],{"class":305,"line":358},[303,446,361],{"class":316},[281,448,449,450,404],{},"... and this is your ",[288,451,452],{},"config.production.js",[293,454,456],{"className":295,"code":455,"filename":452,"language":298,"meta":299,"style":299},"export default {\n  build: {\n    content: ['emails/transactional/**/*.html'],\n  }\n}\n",[288,457,458,466,474,489,493],{"__ignoreMap":299},[303,459,460,462,464],{"class":305,"line":306},[303,461,310],{"class":309},[303,463,313],{"class":309},[303,465,317],{"class":316},[303,467,468,470,472],{"class":305,"line":320},[303,469,324],{"class":323},[303,471,327],{"class":316},[303,473,317],{"class":316},[303,475,476,478,480,482,485,487],{"class":305,"line":332},[303,477,335],{"class":323},[303,479,327],{"class":316},[303,481,340],{"class":323},[303,483,484],{"class":323},"'emails/transactional/**/*.html'",[303,486,346],{"class":323},[303,488,349],{"class":316},[303,490,491],{"class":305,"line":352},[303,492,355],{"class":316},[303,494,495],{"class":305,"line":358},[303,496,361],{"class":316},[281,498,499,500,503,504,507,508,511],{},"When running ",[288,501,502],{},"maizzle build production",", only the Templates from the ",[288,505,506],{},"emails/transactional"," folder will be compiled, no matter if the ",[288,509,510],{},"emails"," folder contains other Templates.",[513,514,516],"h3",{"id":515},"file-types","File types",[281,518,519,520,523,524,527],{},"Specify which file extensions should be considered when looking for Templates to compile. For example, to include both ",[288,521,522],{},".html"," and ",[288,525,526],{},".blade.php"," files:",[293,529,531],{"className":295,"code":530,"filename":297,"language":298,"meta":299,"style":299},"export default {\n  build: {\n    content: ['emails/**/*.{html,blade.php}'],\n  }\n}\n",[288,532,533,541,549,564,568],{"__ignoreMap":299},[303,534,535,537,539],{"class":305,"line":306},[303,536,310],{"class":309},[303,538,313],{"class":309},[303,540,317],{"class":316},[303,542,543,545,547],{"class":305,"line":320},[303,544,324],{"class":323},[303,546,327],{"class":316},[303,548,317],{"class":316},[303,550,551,553,555,557,560,562],{"class":305,"line":332},[303,552,335],{"class":323},[303,554,327],{"class":316},[303,556,340],{"class":323},[303,558,559],{"class":323},"'emails/**/*.{html,blade.php}'",[303,561,346],{"class":323},[303,563,349],{"class":316},[303,565,566],{"class":305,"line":352},[303,567,355],{"class":316},[303,569,570],{"class":305,"line":358},[303,571,361],{"class":316},[513,573,575],{"id":574},"excluding-files","Excluding files",[281,577,578,579,582,583,327],{},"You may exclude files from being compiled by prefixing the glob pattern with an exclamation mark ",[288,580,581],{},"!",". For example, to exclude all files ending in ",[288,584,585],{},"-ignore.html",[293,587,589],{"className":295,"code":588,"filename":297,"language":298,"meta":299,"style":299},"export default {\n  build: {\n    content: [\n      'emails/**/*.html',\n      '!emails/**/*-ignore.html',\n    ],\n  }\n}\n",[288,590,591,599,607,616,623,630,638,643],{"__ignoreMap":299},[303,592,593,595,597],{"class":305,"line":306},[303,594,310],{"class":309},[303,596,313],{"class":309},[303,598,317],{"class":316},[303,600,601,603,605],{"class":305,"line":320},[303,602,324],{"class":323},[303,604,327],{"class":316},[303,606,317],{"class":316},[303,608,609,611,613],{"class":305,"line":332},[303,610,335],{"class":323},[303,612,327],{"class":316},[303,614,615],{"class":323}," [\n",[303,617,618,621],{"class":305,"line":352},[303,619,620],{"class":323},"      'emails/**/*.html'",[303,622,349],{"class":316},[303,624,625,628],{"class":305,"line":358},[303,626,627],{"class":323},"      '!emails/**/*-ignore.html'",[303,629,349],{"class":316},[303,631,633,636],{"class":305,"line":632},6,[303,634,635],{"class":323},"    ]",[303,637,349],{"class":316},[303,639,641],{"class":305,"line":640},7,[303,642,355],{"class":316},[303,644,646],{"class":305,"line":645},8,[303,647,361],{"class":316},[513,649,651],{"id":650},"compute-paths","Compute paths",[281,653,654],{},"If you need to compute the content source paths dynamically, you can use a function that returns an array of strings:",[293,656,658],{"className":295,"code":657,"filename":297,"language":298,"meta":299,"style":299},"const sources = () => {\n  return ['templates**/*.html', 'amp-templates/**/*.html']\n}\n\nexport default {\n  build: {\n    content: sources\n  }\n}\n",[288,659,660,682,701,705,711,719,727,736,740],{"__ignoreMap":299},[303,661,662,666,670,674,677,680],{"class":305,"line":306},[303,663,665],{"class":664},"s8qYB","const",[303,667,669],{"class":668},"s2ImL"," sources",[303,671,673],{"class":672},"sVevU"," =",[303,675,676],{"class":316}," ()",[303,678,679],{"class":664}," =>",[303,681,317],{"class":316},[303,683,684,687,689,692,695,698],{"class":305,"line":320},[303,685,686],{"class":309},"  return",[303,688,340],{"class":323},[303,690,691],{"class":323},"'templates**/*.html'",[303,693,694],{"class":316},",",[303,696,697],{"class":323}," 'amp-templates/**/*.html'",[303,699,700],{"class":323},"]\n",[303,702,703],{"class":305,"line":332},[303,704,361],{"class":316},[303,706,707],{"class":305,"line":352},[303,708,710],{"emptyLinePlaceholder":709},true,"\n",[303,712,713,715,717],{"class":305,"line":358},[303,714,310],{"class":309},[303,716,313],{"class":309},[303,718,317],{"class":316},[303,720,721,723,725],{"class":305,"line":632},[303,722,324],{"class":323},[303,724,327],{"class":316},[303,726,317],{"class":316},[303,728,729,731,733],{"class":305,"line":640},[303,730,335],{"class":323},[303,732,327],{"class":316},[303,734,735],{"class":664}," sources\n",[303,737,738],{"class":305,"line":645},[303,739,355],{"class":316},[303,741,743],{"class":305,"line":742},9,[303,744,361],{"class":316},[746,747,748],"alert",{},"\nPreviously this was called 'Function source', and it allowed defining sources as a function that was evaluated by Maizzle. This is deprecated starting with Maizzle 5.\n",[513,750,752],{"id":751},"multiple-sources","Multiple sources",[281,754,755],{},"You may define multiple content sources:",[293,757,759],{"className":295,"code":758,"filename":297,"language":298,"meta":299,"style":299},"export default {\n  build: {\n    content: [\n      'marketing/**/*.html',\n      'transactional/**/*.html'\n    ]\n  }\n}\n",[288,760,761,769,777,785,792,797,802,806],{"__ignoreMap":299},[303,762,763,765,767],{"class":305,"line":306},[303,764,310],{"class":309},[303,766,313],{"class":309},[303,768,317],{"class":316},[303,770,771,773,775],{"class":305,"line":320},[303,772,324],{"class":323},[303,774,327],{"class":316},[303,776,317],{"class":316},[303,778,779,781,783],{"class":305,"line":332},[303,780,335],{"class":323},[303,782,327],{"class":316},[303,784,615],{"class":323},[303,786,787,790],{"class":305,"line":352},[303,788,789],{"class":323},"      'marketing/**/*.html'",[303,791,349],{"class":316},[303,793,794],{"class":305,"line":358},[303,795,796],{"class":323},"      'transactional/**/*.html'\n",[303,798,799],{"class":305,"line":632},[303,800,801],{"class":323},"    ]\n",[303,803,804],{"class":305,"line":640},[303,805,355],{"class":316},[303,807,808],{"class":305,"line":645},[303,809,361],{"class":316},[363,811,812],{"id":812},"output",[281,814,368,815,818,375,820],{},[288,816,817],{},"Object",[373,819],{},[288,821,822],{},"{ path: 'build_[env]', extension: 'html', from: ['emails'] }",[281,824,825],{},"Define the output path for compiled Templates, and what file extension they should use.",[513,827,828],{"id":828},"path",[281,830,368,831,834,375,836],{},[288,832,833],{},"String",[373,835],{},[288,837,838],{},"build_[env]",[281,840,841],{},"Directory path where Maizzle should output the compiled emails.",[293,843,845],{"className":295,"code":844,"filename":452,"language":298,"meta":299,"style":299},"export default {\n  build: {\n    output: {\n      path: 'build_production',\n    }\n  }\n}\n",[288,846,847,855,863,872,884,889,893],{"__ignoreMap":299},[303,848,849,851,853],{"class":305,"line":306},[303,850,310],{"class":309},[303,852,313],{"class":309},[303,854,317],{"class":316},[303,856,857,859,861],{"class":305,"line":320},[303,858,324],{"class":323},[303,860,327],{"class":316},[303,862,317],{"class":316},[303,864,865,868,870],{"class":305,"line":332},[303,866,867],{"class":323},"    output",[303,869,327],{"class":316},[303,871,317],{"class":316},[303,873,874,877,879,882],{"class":305,"line":352},[303,875,876],{"class":323},"      path",[303,878,327],{"class":316},[303,880,881],{"class":323}," 'build_production'",[303,883,349],{"class":316},[303,885,886],{"class":305,"line":358},[303,887,888],{"class":316},"    }\n",[303,890,891],{"class":305,"line":632},[303,892,355],{"class":316},[303,894,895],{"class":305,"line":640},[303,896,361],{"class":316},[281,898,899,900,902,903,906,907,910,911,914],{},"If you omit this key, a ",[288,901,838],{}," directory name will be used, where ",[288,904,905],{},"[env]"," is the current environment, i.e. ",[288,908,909],{},"build_production"," or ",[288,912,913],{},"build_local",".",[513,916,917],{"id":917},"extension",[281,919,368,920,922,375,924],{},[288,921,833],{},[373,923],{},[288,925,926],{},"undefined",[281,928,929,930,527],{},"Define the file extension - without the leading dot - to be used for the compiled templates. For example, let's output ",[386,931,934],{"href":932,"rel":933},"https://laravel.com/docs/8.x/blade",[390],"Laravel Blade",[293,936,939],{"className":295,"code":937,"filename":938,"language":298,"meta":299,"style":299},"export default {\n  build: {\n    output: {\n      path: 'build_laravel',\n      extension: 'blade.php'\n    }\n  }\n}\n","config.laravel.js",[288,940,941,949,957,965,976,986,990,994],{"__ignoreMap":299},[303,942,943,945,947],{"class":305,"line":306},[303,944,310],{"class":309},[303,946,313],{"class":309},[303,948,317],{"class":316},[303,950,951,953,955],{"class":305,"line":320},[303,952,324],{"class":323},[303,954,327],{"class":316},[303,956,317],{"class":316},[303,958,959,961,963],{"class":305,"line":332},[303,960,867],{"class":323},[303,962,327],{"class":316},[303,964,317],{"class":316},[303,966,967,969,971,974],{"class":305,"line":352},[303,968,876],{"class":323},[303,970,327],{"class":316},[303,972,973],{"class":323}," 'build_laravel'",[303,975,349],{"class":316},[303,977,978,981,983],{"class":305,"line":358},[303,979,980],{"class":323},"      extension",[303,982,327],{"class":316},[303,984,985],{"class":323}," 'blade.php'\n",[303,987,988],{"class":305,"line":632},[303,989,888],{"class":316},[303,991,992],{"class":305,"line":640},[303,993,355],{"class":316},[303,995,996],{"class":305,"line":645},[303,997,361],{"class":316},[281,999,1000,1001,914],{},"The compiled Templates will be output as ",[288,1002,1003],{},"build_laravel/*.blade.php",[281,1005,1006],{},"By default, Maizzle will use the extension of the source file.",[513,1008,1009],{"id":1009},"from",[281,1011,368,1012,1014,375,1016],{},[288,1013,371],{},[373,1015],{},[288,1017,1018],{},"['emails']",[281,1020,1021],{},"Default directories to unwrap when outputting compiled Templates.",[281,1023,1024,1025,1028,1029,1032,1033,1035],{},"For example, if you have a Template located at ",[288,1026,1027],{},"emails/welcome.html"," in your Maizzle project, by default the compiled file will be output as ",[288,1030,1031],{},"build_[env]/welcome.html"," - the ",[288,1034,510],{}," part of the path is discarded.",[281,1037,1038],{},"If you have multiple sources, you can specify additional directories to unwrap:",[293,1040,1042],{"className":295,"code":1041,"filename":297,"language":298,"meta":299,"style":299},"export default {\n  build: {\n    content: [\n      'emails/**/*.html',\n      'amp-templates/**/*.html'\n    ],\n    output: {\n      from: ['emails', 'amp-templates']\n    }\n  }\n}\n",[288,1043,1044,1052,1060,1068,1074,1079,1085,1093,1112,1116,1121],{"__ignoreMap":299},[303,1045,1046,1048,1050],{"class":305,"line":306},[303,1047,310],{"class":309},[303,1049,313],{"class":309},[303,1051,317],{"class":316},[303,1053,1054,1056,1058],{"class":305,"line":320},[303,1055,324],{"class":323},[303,1057,327],{"class":316},[303,1059,317],{"class":316},[303,1061,1062,1064,1066],{"class":305,"line":332},[303,1063,335],{"class":323},[303,1065,327],{"class":316},[303,1067,615],{"class":323},[303,1069,1070,1072],{"class":305,"line":352},[303,1071,620],{"class":323},[303,1073,349],{"class":316},[303,1075,1076],{"class":305,"line":358},[303,1077,1078],{"class":323},"      'amp-templates/**/*.html'\n",[303,1080,1081,1083],{"class":305,"line":632},[303,1082,635],{"class":323},[303,1084,349],{"class":316},[303,1086,1087,1089,1091],{"class":305,"line":640},[303,1088,867],{"class":323},[303,1090,327],{"class":316},[303,1092,317],{"class":316},[303,1094,1095,1098,1100,1102,1105,1107,1110],{"class":305,"line":645},[303,1096,1097],{"class":323},"      from",[303,1099,327],{"class":316},[303,1101,340],{"class":323},[303,1103,1104],{"class":323},"'emails'",[303,1106,694],{"class":316},[303,1108,1109],{"class":323}," 'amp-templates'",[303,1111,700],{"class":323},[303,1113,1114],{"class":305,"line":742},[303,1115,888],{"class":316},[303,1117,1119],{"class":305,"line":1118},10,[303,1120,355],{"class":316},[303,1122,1124],{"class":305,"line":1123},11,[303,1125,361],{"class":316},[746,1127,1128,1129,1132,1133,1136,1137,1140],{},"\nYou must specify all directories to unwrap when using \n",[288,1130,1131],{},"output.from","\n and multiple \n",[288,1134,1135],{},"build.content","\n source paths, as this option overwrites the default \n",[288,1138,1139],{},"[emails]","\n value.\n",[281,1142,1143,1144,1146],{},"In this case, the compiled files will all be output at the root of the ",[288,1145,838],{}," directory.",[1148,1149,1151],"h4",{"id":1150},"from-caveat","`from` caveat",[281,1153,1154,1155,1157],{},"Templates in Maizzle are processed in the order their source paths are defined in ",[288,1156,1135],{},", which means files with identical names will be overwritten if they have the same output path as a result of their parent directory being unwrapped.",[281,1159,1160,1161,523,1163,1166,1167,1170,1171,1173,1174,1146],{},"In the ",[288,1162,510],{},[288,1164,1165],{},"amp-templates"," example above, if both directories contain a ",[288,1168,1169],{},"welcome.html"," file, the content of the one in the ",[288,1172,1165],{}," directory will overwrite that of the one in the ",[288,1175,510],{},[363,1177,1178],{"id":1178},"permalink",[281,1180,368,1181,1183,375,1185],{},[288,1182,833],{},[373,1184],{},[288,1186,926],{},[281,1188,1189,1190,1192],{},"Use the ",[288,1191,1178],{}," Front Matter key to define a custom output path right in a Template:",[293,1194,1199],{"className":1195,"code":1196,"filename":1197,"language":1198,"meta":299,"style":299},"language-hbs shiki shiki-themes tailwind-css tailwind-css","---\npermalink: output/this/template/here.html\n---\n\n\u003Cx-main>\n  \u003C!-- your email HTML... -->\n\u003C/x-main>\n","emails/example.html","hbs",[288,1200,1201,1206,1216,1220,1224,1235,1241],{"__ignoreMap":299},[303,1202,1203],{"class":305,"line":306},[303,1204,1205],{"class":323},"---\n",[303,1207,1208,1210,1213],{"class":305,"line":320},[303,1209,1178],{"class":309},[303,1211,327],{"class":1212},"soJEP",[303,1214,1215],{"class":323}," output/this/template/here.html\n",[303,1217,1218],{"class":305,"line":332},[303,1219,1205],{"class":323},[303,1221,1222],{"class":305,"line":352},[303,1223,710],{"emptyLinePlaceholder":709},[303,1225,1226,1229,1232],{"class":305,"line":358},[303,1227,1228],{"class":1212},"\u003C",[303,1230,1231],{"class":309},"x-main",[303,1233,1234],{"class":1212},">\n",[303,1236,1237],{"class":305,"line":632},[303,1238,1240],{"class":1239},"smVoC","  \u003C!-- your email HTML... -->\n",[303,1242,1243,1246,1248],{"class":305,"line":640},[303,1244,1245],{"class":1212},"\u003C/",[303,1247,1231],{"class":309},[303,1249,1234],{"class":1212},[281,1251,1252,1253,1256],{},"This will override ",[288,1254,1255],{},"output.path"," from your config, but only for this Template.",[281,1258,1259],{},"You may use both relative and absolute file paths.",[281,1261,1262],{},"For example, output one level above project directory:",[293,1264,1266],{"className":1195,"code":1265,"filename":1197,"language":1198,"meta":299,"style":299},"---\npermalink: ../newsletter.html\n---\n\n\u003Cx-main>\n  \u003C!-- your email HTML... -->\n\u003C/x-main>\n",[288,1267,1268,1272,1281,1285,1289,1297,1301],{"__ignoreMap":299},[303,1269,1270],{"class":305,"line":306},[303,1271,1205],{"class":323},[303,1273,1274,1276,1278],{"class":305,"line":320},[303,1275,1178],{"class":309},[303,1277,327],{"class":1212},[303,1279,1280],{"class":323}," ../newsletter.html\n",[303,1282,1283],{"class":305,"line":332},[303,1284,1205],{"class":323},[303,1286,1287],{"class":305,"line":352},[303,1288,710],{"emptyLinePlaceholder":709},[303,1290,1291,1293,1295],{"class":305,"line":358},[303,1292,1228],{"class":1212},[303,1294,1231],{"class":309},[303,1296,1234],{"class":1212},[303,1298,1299],{"class":305,"line":632},[303,1300,1240],{"class":1239},[303,1302,1303,1305,1307],{"class":305,"line":640},[303,1304,1245],{"class":1212},[303,1306,1231],{"class":309},[303,1308,1234],{"class":1212},[281,1310,1311],{},"Output at a specific system location:",[293,1313,1315],{"className":1195,"code":1314,"filename":1197,"language":1198,"meta":299,"style":299},"---\npermalink: C:/Users/Cosmin/Newsletter/2024/07/index.html\n---\n\n\u003Cx-main>\n  \u003C!-- your email HTML... -->\n\u003C/x-main>\n",[288,1316,1317,1321,1330,1334,1338,1346,1350],{"__ignoreMap":299},[303,1318,1319],{"class":305,"line":306},[303,1320,1205],{"class":323},[303,1322,1323,1325,1327],{"class":305,"line":320},[303,1324,1178],{"class":309},[303,1326,327],{"class":1212},[303,1328,1329],{"class":323}," C:/Users/Cosmin/Newsletter/2024/07/index.html\n",[303,1331,1332],{"class":305,"line":332},[303,1333,1205],{"class":323},[303,1335,1336],{"class":305,"line":352},[303,1337,710],{"emptyLinePlaceholder":709},[303,1339,1340,1342,1344],{"class":305,"line":358},[303,1341,1228],{"class":1212},[303,1343,1231],{"class":309},[303,1345,1234],{"class":1212},[303,1347,1348],{"class":305,"line":632},[303,1349,1240],{"class":1239},[303,1351,1352,1354,1356],{"class":305,"line":640},[303,1353,1245],{"class":1212},[303,1355,1231],{"class":309},[303,1357,1234],{"class":1212},[746,1359,1361,1363,1364,1368],{"type":1360},"warning",[288,1362,1178],{},"\n must be a \n",[1365,1366,1367],"em",{},"\nfile\n","\n path, and can only be used in the Template's Front Matter. Using a directory path will result in a build error.\n",[363,1370,1371],{"id":1371},"static",[281,1373,368,1374,1376,375,1378],{},[288,1375,817],{},[373,1377],{},[288,1379,1380],{},"{ source: '', destination: 'assets' }",[281,1382,1383],{},"Source and destination directories for static asset files.",[281,1385,1386,1387,1390,1391,1394,1395,1398],{},"At build time, ",[288,1388,1389],{},"build.static.destination"," will be created relative to ",[288,1392,1393],{},"build.output.path",", and files inside ",[288,1396,1397],{},"build.static.source"," will be copied into it:",[293,1400,1402],{"className":295,"code":1401,"filename":297,"language":298,"meta":299,"style":299},"export default {\n  build: {\n    static: {\n      source: 'images/**/*',\n      destination: 'images',\n    }\n  }\n}\n",[288,1403,1404,1412,1420,1429,1441,1453,1457,1461],{"__ignoreMap":299},[303,1405,1406,1408,1410],{"class":305,"line":306},[303,1407,310],{"class":309},[303,1409,313],{"class":309},[303,1411,317],{"class":316},[303,1413,1414,1416,1418],{"class":305,"line":320},[303,1415,324],{"class":323},[303,1417,327],{"class":316},[303,1419,317],{"class":316},[303,1421,1422,1425,1427],{"class":305,"line":332},[303,1423,1424],{"class":323},"    static",[303,1426,327],{"class":316},[303,1428,317],{"class":316},[303,1430,1431,1434,1436,1439],{"class":305,"line":352},[303,1432,1433],{"class":323},"      source",[303,1435,327],{"class":316},[303,1437,1438],{"class":323}," 'images/**/*'",[303,1440,349],{"class":316},[303,1442,1443,1446,1448,1451],{"class":305,"line":358},[303,1444,1445],{"class":323},"      destination",[303,1447,327],{"class":316},[303,1449,1450],{"class":323}," 'images'",[303,1452,349],{"class":316},[303,1454,1455],{"class":305,"line":632},[303,1456,888],{"class":316},[303,1458,1459],{"class":305,"line":640},[303,1460,355],{"class":316},[303,1462,1463],{"class":305,"line":645},[303,1464,361],{"class":316},[281,1466,1467],{},"If you have multiple static asset directories, define them as an array of objects:",[293,1469,1471],{"className":295,"code":1470,"filename":297,"language":298,"meta":299,"style":299},"export default {\n  build: {\n    static: [\n      { source: 'images/**/*', destination: 'images' },\n      { source: 'fonts/**/*', destination: 'fonts' }\n    ]\n  }\n}\n",[288,1472,1473,1481,1489,1497,1521,1544,1548,1552],{"__ignoreMap":299},[303,1474,1475,1477,1479],{"class":305,"line":306},[303,1476,310],{"class":309},[303,1478,313],{"class":309},[303,1480,317],{"class":316},[303,1482,1483,1485,1487],{"class":305,"line":320},[303,1484,324],{"class":323},[303,1486,327],{"class":316},[303,1488,317],{"class":316},[303,1490,1491,1493,1495],{"class":305,"line":332},[303,1492,1424],{"class":323},[303,1494,327],{"class":316},[303,1496,615],{"class":323},[303,1498,1499,1502,1505,1507,1509,1511,1514,1516,1518],{"class":305,"line":352},[303,1500,1501],{"class":316},"      {",[303,1503,1504],{"class":323}," source",[303,1506,327],{"class":316},[303,1508,1438],{"class":323},[303,1510,694],{"class":316},[303,1512,1513],{"class":323}," destination",[303,1515,327],{"class":316},[303,1517,1450],{"class":323},[303,1519,1520],{"class":316}," },\n",[303,1522,1523,1525,1527,1529,1532,1534,1536,1538,1541],{"class":305,"line":358},[303,1524,1501],{"class":316},[303,1526,1504],{"class":323},[303,1528,327],{"class":316},[303,1530,1531],{"class":323}," 'fonts/**/*'",[303,1533,694],{"class":316},[303,1535,1513],{"class":323},[303,1537,327],{"class":316},[303,1539,1540],{"class":323}," 'fonts'",[303,1542,1543],{"class":316}," }\n",[303,1545,1546],{"class":305,"line":632},[303,1547,801],{"class":323},[303,1549,1550],{"class":305,"line":640},[303,1551,355],{"class":316},[303,1553,1554],{"class":305,"line":645},[303,1555,361],{"class":316},[281,1557,1558,1559,1562,1563,1566],{},"As you can see, the ",[288,1560,1561],{},"build.static"," configuration can be used to copy ",[1365,1564,1565],{},"any"," files to the build directory, not just images.",[363,1568,1569],{"id":1569},"spinner",[281,1571,368,1572,1575,375,1577],{},[288,1573,1574],{},"String|Object",[373,1576],{},[288,1578,1579],{},"'circleHalves'",[281,1581,1582],{},"Customize the spinner shown in the console during build.",[293,1584,1586],{"className":295,"code":1585,"filename":297,"language":298,"meta":299,"style":299},"export default {\n  build: {\n    spinner: 'dots'\n  }\n}\n",[288,1587,1588,1596,1604,1614,1618],{"__ignoreMap":299},[303,1589,1590,1592,1594],{"class":305,"line":306},[303,1591,310],{"class":309},[303,1593,313],{"class":309},[303,1595,317],{"class":316},[303,1597,1598,1600,1602],{"class":305,"line":320},[303,1599,324],{"class":323},[303,1601,327],{"class":316},[303,1603,317],{"class":316},[303,1605,1606,1609,1611],{"class":305,"line":332},[303,1607,1608],{"class":323},"    spinner",[303,1610,327],{"class":316},[303,1612,1613],{"class":323}," 'dots'\n",[303,1615,1616],{"class":305,"line":352},[303,1617,355],{"class":316},[303,1619,1620],{"class":305,"line":358},[303,1621,361],{"class":316},[281,1623,1624,1625,1630],{},"See the ",[386,1626,1629],{"href":1627,"rel":1628},"https://github.com/sindresorhus/cli-spinners/blob/main/spinners.json",[390],"ora spinners list"," for available options.",[363,1632,1633],{"id":1633},"summary",[281,1635,368,1636,1639,375,1641],{},[288,1637,1638],{},"Boolean",[373,1640],{},[288,1642,1643],{},"false",[281,1645,1646],{},"Show a summary at the end the build process. A table with the following information will be displayed:",[1648,1649,1650,1654,1657],"ul",{},[1651,1652,1653],"li",{},"file name",[1651,1655,1656],{},"file size",[1651,1658,1659],{},"build time",[281,1661,1662,1663,910,1666,1669],{},"You may also enable this option by passing the ",[288,1664,1665],{},"--summary",[288,1667,1668],{},"-s"," flag to the build command.",[293,1671,1675],{"className":1672,"code":1673,"language":1674,"meta":299,"style":299},"language-sh shiki shiki-themes tailwind-css tailwind-css","maizzle build --summary\n","sh",[288,1676,1677],{"__ignoreMap":299},[303,1678,1679,1682,1685],{"class":305,"line":306},[303,1680,1681],{"class":309},"maizzle",[303,1683,1684],{"class":323}," build",[303,1686,1687],{"class":309}," --summary\n",[1689,1690,1691],"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 .s2ImL, html code.shiki .s2ImL{--shiki-light:#00BF99;--shiki-dark:#00BF99}html pre.shiki code .sVevU, html code.shiki .sVevU{--shiki-light:#35393E;--shiki-dark:#35393E}html pre.shiki code .soJEP, html code.shiki .soJEP{--shiki-light:#CBD5E1;--shiki-dark:#CBD5E1}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}",{"title":299,"searchDepth":320,"depth":320,"links":1693},[1694,1700,1705,1706,1707,1708],{"id":365,"depth":320,"text":365,"children":1695},[1696,1697,1698,1699],{"id":515,"depth":332,"text":516},{"id":574,"depth":332,"text":575},{"id":650,"depth":332,"text":651},{"id":751,"depth":332,"text":752},{"id":812,"depth":320,"text":812,"children":1701},[1702,1703,1704],{"id":828,"depth":332,"text":828},{"id":917,"depth":332,"text":917},{"id":1009,"depth":332,"text":1009},{"id":1178,"depth":320,"text":1178},{"id":1371,"depth":320,"text":1371},{"id":1569,"depth":320,"text":1569},{"id":1633,"depth":320,"text":1633},"Configuring content sources and other build related options in Maizzle.","md",{},{"title":272,"description":1709},{"loc":54},"docs/configuration/build","CuPA2mIhxhaXoIpG5OYa4dKze-3CMZmwxYUPIUQWLnE",{"id":4,"extension":5,"items":1717,"meta":1788,"stem":195,"__hash__":196},[1718,1728,1733,1742,1755,1773,1779],{"name":8,"items":1719},[1720,1721,1722,1723,1724,1725,1726,1727],{"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":1729},[1730,1731,1732],{"title":38,"path":39},{"title":41,"path":42},{"title":44,"path":45},{"name":47,"items":1734},[1735,1736,1737,1738,1739,1740,1741],{"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":1743},[1744,1745,1746,1747,1748,1749,1750,1751,1752,1753,1754],{"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":1756},[1757,1758,1759,1760,1761,1762,1763,1764,1765,1766,1767,1768,1769,1770,1771,1772],{"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":1774},[1775,1776,1777,1778],{"title":159,"path":160},{"title":162,"path":163},{"title":165,"path":166},{"title":168,"path":169},{"name":171,"items":1780},[1781,1782,1783,1784,1785,1786,1787],{"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},{},1780318590602]