mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
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.
12 lines
315 B
JavaScript
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');
|
|
});
|