mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Although the Meteor jquery package is no long a core package (and thus is not tied to the Meteor release), it seems like a good idea to nudge folks towards installing jquery from npm, instead of relying on the very old version (1.12.1) residing in meteor/packages/non-core/jquery/jquery.js. Closes #10289.
17 lines
451 B
JavaScript
17 lines
451 B
JavaScript
Package.describe({
|
|
summary: "Manipulate the DOM using CSS selectors",
|
|
version: '3.0.0'
|
|
});
|
|
|
|
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');
|
|
});
|