Skip to content

Commit

Permalink
Use api.addAssets for static files
Browse files Browse the repository at this point in the history
Since meteor 1.2 addAsset should be used to define static files.
  • Loading branch information
gimco authored Apr 15, 2019
1 parent deb275d commit 973d926
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions tasks/config/admin/templates/css-package.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand All @@ -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'
Expand Down

0 comments on commit 973d926

Please sign in to comment.