mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
14 lines
453 B
JavaScript
14 lines
453 B
JavaScript
meteorInstall = makeInstaller({
|
|
// On the client, make package resolution prefer the "browser" field of
|
|
// package.json over the "module" field over the "main" field.
|
|
browser: true,
|
|
|
|
// The difference between legacy.js and modern.js is that this module
|
|
// prefers "main" over "module" (see issue #10658).
|
|
mainFields: ['browser', 'main', 'module'],
|
|
|
|
fallback: function (id, parentId, error) {
|
|
verifyErrors(id, parentId, error);
|
|
}
|
|
});
|