We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 911312d + 7f45ac2 commit 99d243aCopy full SHA for 99d243a
package.js
@@ -13,13 +13,18 @@ Package.describe({
13
Package.onUse(function (api) {
14
api.versionsFrom('[email protected]');
15
api.use('jquery', 'client');
16
- api.addFiles([
+ var assets = [
17
'dist/fonts/glyphicons-halflings-regular.eot',
18
'dist/fonts/glyphicons-halflings-regular.svg',
19
'dist/fonts/glyphicons-halflings-regular.ttf',
20
'dist/fonts/glyphicons-halflings-regular.woff',
21
'dist/fonts/glyphicons-halflings-regular.woff2'
22
- ], 'client', { isAsset: true });
+ ];
23
+ if (api.addAssets) {
24
+ api.addAssets(assets, 'client');
25
+ } else {
26
+ api.addFiles(assets, 'client', { isAsset: true });
27
+ }
28
api.addFiles([
29
'dist/css/bootstrap.css',
30
'dist/js/bootstrap.js'
0 commit comments