Files
meteor/packages/non-core/jquery/package.js
Ben Newman 56ac765779 Move jquery package into packages/non-core.
This move will mean the next release of Meteor will not impose any
constraints on the version of the Meteor jquery package.
2018-04-03 09:06:14 -04:00

18 lines
515 B
JavaScript

Package.describe({
summary: "Manipulate the DOM using CSS selectors",
// This package currently uses jQuery 1.12.1 (due to #9605).
version: '1.12.1'
});
Package.onUse(function (api) {
api.use('modules');
// Note that you can `meteor npm install jquery` (any version) into your
// application's node_modules directory, and the meteor/jquery package
// will use that version instead of 1.12.1.
api.mainModule('main.js', 'client');
api.export('$', 'client');
api.export('jQuery', 'client');
});