From 29e0fe5d0fc760a8ae2a871f1d2e6f7773e94d0f Mon Sep 17 00:00:00 2001 From: AZARI Nicolas Date: Mon, 2 Nov 2015 14:45:23 +0100 Subject: [PATCH] use addAssets instead of addFiles for static files --- package.js | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/package.js b/package.js index 9201729b..0ad86f86 100644 --- a/package.js +++ b/package.js @@ -16,6 +16,12 @@ Package.onUse(function(api) { api.use('jquery', 'client'); api.addFiles([ + // release + 'semantic.css', + 'semantic.js' + ], 'client'); + + api.addAssets([ // icons 'themes/default/assets/fonts/icons.eot', 'themes/default/assets/fonts/icons.svg', @@ -24,11 +30,6 @@ Package.onUse(function(api) { 'themes/default/assets/fonts/icons.woff2', // flags - 'themes/default/assets/images/flags.png', - - // release - 'semantic.css', - 'semantic.js' - ], 'client'); - + 'themes/default/assets/images/flags.png', + ], 'client'); });