diff --git a/core/frontend/services/theme-engine/config/defaults.json b/core/frontend/services/theme-engine/config/defaults.json index c13332efe4..1680d56147 100644 --- a/core/frontend/services/theme-engine/config/defaults.json +++ b/core/frontend/services/theme-engine/config/defaults.json @@ -1,6 +1,4 @@ { "posts_per_page": 5, - "card_assets": { - "exclude": ["bookmark", "gallery"] - } + "card_assets": true } diff --git a/test/unit/frontend/services/card-assets.test.js b/test/unit/frontend/services/card-assets.test.js index 8e2a9d9ae9..c9d9cb921f 100644 --- a/test/unit/frontend/services/card-assets.test.js +++ b/test/unit/frontend/services/card-assets.test.js @@ -113,8 +113,8 @@ describe('Card Asset Service', function () { }); cardAssets.generateGlobs().should.eql({ - 'cards.min.css': 'css/!(bookmark|gallery).css', - 'cards.min.js': 'js/!(bookmark|gallery).js' + 'cards.min.css': 'css/*.css', + 'cards.min.js': 'js/*.js' }); }); diff --git a/test/unit/frontend/services/theme-engine/config.test.js b/test/unit/frontend/services/theme-engine/config.test.js index ea4846634d..9e9641d0c5 100644 --- a/test/unit/frontend/services/theme-engine/config.test.js +++ b/test/unit/frontend/services/theme-engine/config.test.js @@ -13,9 +13,7 @@ describe('Themes', function () { config.should.eql({ posts_per_page: 5, - card_assets: { - exclude: ['bookmark', 'gallery'] - } + card_assets: true }); }); @@ -24,9 +22,7 @@ describe('Themes', function () { config.should.eql({ posts_per_page: 5, - card_assets: { - exclude: ['bookmark', 'gallery'] - } + card_assets: true }); }); @@ -44,9 +40,7 @@ describe('Themes', function () { config.should.eql({ posts_per_page: 5, - card_assets: { - exclude: ['bookmark', 'gallery'] - } + card_assets: true }); }); });