Files
meteor/packages/compiler-plugin/package.js
David Glasser d2b151aea8 Require compiler-plugin use for registerCompiler
Specifically, the *plugin* has to use compiler-plugin. This creates the
appropriate dependency which will hopefully prevent you from using
new-style plugin packages with old Meteor tools.
2015-06-04 01:19:12 -07:00

12 lines
315 B
JavaScript

Package.describe({
name: "compiler-plugin",
summary: "Use this package to enable Plugin.registerCompiler",
version: "1.0.0"
});
Package.onUse(function (api) {
// XXX BBP add a use that forces you to be using a new enough version of
// meteor.
api.addFiles('enable-register-compiler.js', 'server');
});