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] 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 0949ce3c64..fbb4dedf2d 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'