From 7a49ba3560d8e5c4a17538ed87318172902dcac5 Mon Sep 17 00:00:00 2001 From: Marcos Defendi Date: Tue, 13 Nov 2018 09:43:07 -0200 Subject: [PATCH 1/2] Convert rocketchat-favico to main module structure --- packages/rocketchat-favico/client/index.js | 1 + packages/rocketchat-favico/package.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 packages/rocketchat-favico/client/index.js diff --git a/packages/rocketchat-favico/client/index.js b/packages/rocketchat-favico/client/index.js new file mode 100644 index 000000000000..607bf7418da7 --- /dev/null +++ b/packages/rocketchat-favico/client/index.js @@ -0,0 +1 @@ +import './favico'; diff --git a/packages/rocketchat-favico/package.js b/packages/rocketchat-favico/package.js index c9b219e7daf0..1fd630a8e258 100644 --- a/packages/rocketchat-favico/package.js +++ b/packages/rocketchat-favico/package.js @@ -5,5 +5,5 @@ Package.describe({ }); Package.onUse(function(api) { - api.addFiles('client/favico.js', 'client'); + api.mainModule('client/index.js', 'client'); }); From 2df42edcb51d9158a3cba2e1397321236c0a67bd Mon Sep 17 00:00:00 2001 From: Rodrigo Nascimento Date: Fri, 16 Nov 2018 10:01:22 -0200 Subject: [PATCH 2/2] Update package.js --- packages/rocketchat-favico/package.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/rocketchat-favico/package.js b/packages/rocketchat-favico/package.js index 1fd630a8e258..53290df2f8ae 100644 --- a/packages/rocketchat-favico/package.js +++ b/packages/rocketchat-favico/package.js @@ -5,5 +5,8 @@ Package.describe({ }); Package.onUse(function(api) { + api.use([ + 'ecmascript', + ]); api.mainModule('client/index.js', 'client'); });