mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Previously, registerCompiler was enabled by the *real* package `compiler-plugin`, which arranged to only be available in versions of the tool that support registerCompiler via... well, mostly via wishful thinking. Now this is implemented via a fake package called isobuild:compiler-plugin. "isobuild" is a real Atmosphere organization that will never publish any packages. The tool pretends that packages isobuild:compiler-plugin@1.0.0, isobuild:linter-plugin@1.0.0, and isobuild:minifier-plugin@1.0.0 exist, and carefully arranges for them to be avoided in the actual process of building and app; they just are referenced in Version Solver. When we add future features like this, users of this version of Meteor who try to depend on packages that need the feature will get a nice error message pointing to https://github.com/meteor/meteor/wiki/Isobuild-Feature-Packages Users of current versions of Meteor who try to depend on packages that require isobuild:compiler-plugin will get a slightly confusing message about isobuild:compiler-plugin not existing. Users of current versions of Meteor who try to depend on packages only some of whose versions require isobuild:compiler-plugin will get a version that doesn't require it.
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.