Files
meteor/packages/non-core/jquery/package.js
Ben Newman 24e02b7411 Avoid bundling jquery twice (#10498)
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.
2019-12-18 13:45:36 -05:00

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');
});