Files
meteor/packages/session/package.js
Avital Oliver 5a0a4f5ab0 npm dependencies at bundle time
- package.js now has a top-level 'Npm.depends' directive
- both bundle-time and server run-time code can get access
  to any dependent npm module with 'Npm.require'
2013-03-19 15:11:04 -07:00

21 lines
539 B
JavaScript

Package.describe({
summary: "Session variable",
internal: true
});
Package.on_use(function (api) {
api.use(['underscore', 'deps'], 'client');
// XXX what I really want to do is ensure that if 'reload' is going to
// be loaded, it should be loaded before 'session'. Session can work
// with or without reload.
api.use('reload', 'client');
api.add_files('session.js', 'client');
});
Package.on_test(function (api) {
api.use('tinytest');
api.use('session', 'client');
api.add_files('session_tests.js', 'client');
});