Skip to content

Commit

Permalink
update rollup.config.js
Browse files Browse the repository at this point in the history
  • Loading branch information
ardatan committed Mar 16, 2018
1 parent bcdc720 commit a5c4565
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/bundles/index.umd.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('meteor/mongo'), require('rxjs/Observable'), require('rxjs/Subject'), require('meteor/meteor'), require('meteor/tracker'), require('rxjs/Subscriber')) :
typeof define === 'function' && define.amd ? define(['exports', 'meteor/mongo', 'rxjs/Observable', 'rxjs/Subject', 'meteor/meteor', 'meteor/tracker', 'rxjs/Subscriber'], factory) :
(factory((global.meteor = global.meteor || {}, global.meteor.rxjs = {}),global.mongo,global.Observable,global.Subject,global.meteor,global.tracker,global.Subscriber));
(factory((global.meteor = global.meteor || {}, global.meteor.rxjs = {}),global.Mongo,global.rxjs.Observable,global.rxjs.Subject,global.Meteor,global.Tracker,global.rxjs.Subscriber));
}(this, (function (exports,mongo,Observable,Subject,meteor,tracker,Subscriber) { 'use strict';

var subscribeEvents = ['onReady', 'onError', 'onStop'];
Expand Down
7 changes: 6 additions & 1 deletion rollup.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
export default {
format: 'umd',
globals: {
'rxjs':'rxjs'
'meteor/mongo': 'Mongo',
'rxjs/Observable':'rxjs.Observable',
'rxjs/Subject': 'rxjs.Subject',
'meteor/meteor': 'Meteor',
'meteor/tracker': 'Tracker',
'rxjs/Subscriber': 'rxjs.Subscriber'
}
};

0 comments on commit a5c4565

Please sign in to comment.