mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
This breaks the path meteor-platform -> webapp -> boilerplate-generator -> spacebars-compiler -> minifiers which ended up shipping all of uglify with each built app, even though the code generated in boilerplate-generator is just eval'd without ever being shown to humans. Beautification still works on JS generated by templating (*.html), though.
templating
Define Blaze templates in .html files. Most Meteor apps use this package.
This build plugin parses all of the HTML files in your app and looks for three top-level tags:
<head>- appended to theheadsection of your HTML<body>- appended to thebodysection of your HTML<template name="templateName">- compiled into a Blaze template, which can be included with{{> templateName}} or referenced in JS code withTemplate.templateName`.
For more details, see the Meteor docs about templating and the Blaze project page.