Files
meteor/packages/bootstrap/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

20 lines
743 B
JavaScript

Package.describe({
summary: "Front-end framework from Twitter"
});
Package.on_use(function (api) {
api.use('jquery');
var path = Npm.require('path');
api.add_files(path.join('css', 'bootstrap.css'), 'client');
api.add_files(path.join('css', 'bootstrap-responsive.css'), 'client');
api.add_files(path.join('js', 'bootstrap.js'), 'client');
api.add_files(path.join('img', 'glyphicons-halflings.png'), 'client');
api.add_files(path.join('img', 'glyphicons-halflings-white.png'), 'client');
// XXX this makes the paths to the icon sets absolute. it needs
// to be included _after_ the standard bootstrap css so
// that its styles take precedence.
api.add_files(path.join('css', 'bootstrap-override.css'), 'client');
});