From 973d92601b30b6131448a4f3bd2288c5291cde24 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bruno=20Orcha=20Garc=C3=ADa?= Date: Mon, 15 Apr 2019 10:01:12 +0200 Subject: [PATCH 1/2] Use api.addAssets for static files Since meteor 1.2 addAsset should be used to define static files. --- tasks/config/admin/templates/css-package.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/tasks/config/admin/templates/css-package.js b/tasks/config/admin/templates/css-package.js index 0949ce3c6..fbb4dedf2 100644 --- a/tasks/config/admin/templates/css-package.js +++ b/tasks/config/admin/templates/css-package.js @@ -15,7 +15,7 @@ Package.onUse(function(api) { api.use('jquery', 'client'); - api.addFiles([ + api.addAssets // icons 'themes/default/assets/fonts/icons.eot', 'themes/default/assets/fonts/icons.svg', @@ -24,8 +24,10 @@ Package.onUse(function(api) { 'themes/default/assets/fonts/icons.woff2', // flags - 'themes/default/assets/images/flags.png', - + 'themes/default/assets/images/flags.png' + ], 'client'); + + api.addFiles([ // release 'semantic.css', 'semantic.js' From c3b231ffc407570b5a13b8f98566f0618b822b73 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bruno=20Orcha=20Garc=C3=ADa?= Date: Mon, 15 Apr 2019 10:23:14 +0200 Subject: [PATCH 2/2] Fix parenthesis --- tasks/config/admin/templates/css-package.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/config/admin/templates/css-package.js b/tasks/config/admin/templates/css-package.js index fbb4dedf2..907c9feec 100644 --- a/tasks/config/admin/templates/css-package.js +++ b/tasks/config/admin/templates/css-package.js @@ -15,7 +15,7 @@ Package.onUse(function(api) { api.use('jquery', 'client'); - api.addAssets + api.addAssets([ // icons 'themes/default/assets/fonts/icons.eot', 'themes/default/assets/fonts/icons.svg',