Skip to content

Commit

Permalink
Convert rocketchat-highlight-words to main module structure (#12659)
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcosSpessatto authored and rodrigok committed Nov 19, 2018
1 parent 5f68ed1 commit ccf644f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions packages/rocketchat-highlight-words/client/client.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
* @param {Object} message - The message object
*/
import { Meteor } from 'meteor/meteor';
import { RocketChat } from 'meteor/rocketchat:lib';
import _ from 'underscore';
import s from 'underscore.string';

Expand Down
1 change: 1 addition & 0 deletions packages/rocketchat-highlight-words/client/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
import './client';
3 changes: 1 addition & 2 deletions packages/rocketchat-highlight-words/package.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,5 @@ Package.onUse(function(api) {
'ecmascript',
'rocketchat:lib',
]);

api.addFiles('client/client.js', 'client');
api.mainModule('client/index.js', 'client');
});

0 comments on commit ccf644f

Please sign in to comment.