mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Remove the spacebars-compiler -> spacebars and spacebars-compiler -> ui dependencies. With those dependencies, ui cannot depend on ui-dynamic-template, because ui-dynamic-template depends on templating, whose build plugin depends on spacebars-compiler, who depends on spacebars who depends on ui. spacebars-compiler doesn't actually need to depend on ui or spacebars; it only needs to depend on spacebars to add things to the `Spacebars` namespace, which this commit does by factoring out the Spacebars export into a separate `spacebars-common` package.
10 lines
200 B
JavaScript
10 lines
200 B
JavaScript
Package.describe({
|
|
summary: "Common code for spacebars and spacebars-compiler",
|
|
internal: true
|
|
});
|
|
|
|
Package.on_use(function (api) {
|
|
api.export('Spacebars');
|
|
api.add_files('spacebars.js');
|
|
});
|